<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="gnome-desktop-gnome-rr-crtc">
<refmeta>
<refentrytitle role="top_of_page" id="gnome-desktop-gnome-rr-crtc.top_of_page">gnome-rr-crtc</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOME-DESKTOP Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gnome-rr-crtc</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="gnome-desktop-gnome-rr-crtc.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
#include &lt;libgnomeui/gnome-rr.h&gt;

typedef             <link linkend="GnomeRRCrtc">GnomeRRCrtc</link>;
enum                <link linkend="GnomeRRRotation">GnomeRRRotation</link>;
<link linkend="guint32">guint32</link>             <link linkend="gnome-rr-crtc-get-id">gnome_rr_crtc_get_id</link>                (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);
<link linkend="gboolean">gboolean</link>            <link linkend="gnome-rr-crtc-set-config">gnome_rr_crtc_set_config</link>            (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="int">int</link> x,
                                                         <link linkend="int">int</link> y,
                                                         <link linkend="GnomeRRMode">GnomeRRMode</link> *mode,
                                                         <link linkend="GnomeRRRotation">GnomeRRRotation</link> rotation,
                                                         <link linkend="GnomeRROutput">GnomeRROutput</link> **outputs,
                                                         <link linkend="int">int</link> n_outputs,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link>            <link linkend="gnome-rr-crtc-can-drive-output">gnome_rr_crtc_can_drive_output</link>      (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="GnomeRROutput">GnomeRROutput</link> *output);
<link linkend="GnomeRRMode">GnomeRRMode</link> *       <link linkend="gnome-rr-crtc-get-current-mode">gnome_rr_crtc_get_current_mode</link>      (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);
<link linkend="void">void</link>                <link linkend="gnome-rr-crtc-get-position">gnome_rr_crtc_get_position</link>          (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="int">int</link> *x,
                                                         <link linkend="int">int</link> *y);
<link linkend="gboolean">gboolean</link>            <link linkend="gnome-rr-crtc-supports-rotation">gnome_rr_crtc_supports_rotation</link>     (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="GnomeRRRotation">GnomeRRRotation</link> rotation);
<link linkend="GnomeRRRotation">GnomeRRRotation</link>     <link linkend="gnome-rr-crtc-get-current-rotation">gnome_rr_crtc_get_current_rotation</link>  (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);
<link linkend="GnomeRRRotation">GnomeRRRotation</link>     <link linkend="gnome-rr-crtc-get-rotations">gnome_rr_crtc_get_rotations</link>         (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);
</synopsis>
</refsynopsisdiv>

<refsect1 id="gnome-desktop-gnome-rr-crtc.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="gnome-desktop-gnome-rr-crtc.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GnomeRRCrtc" role="typedef">
<title>GnomeRRCrtc</title>
<indexterm zone="GnomeRRCrtc"><primary>GnomeRRCrtc</primary></indexterm>
<programlisting>typedef struct GnomeRRCrtc GnomeRRCrtc;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="GnomeRRRotation" role="enum">
<title>enum GnomeRRRotation</title>
<indexterm zone="GnomeRRRotation"><primary>GnomeRRRotation</primary></indexterm>
<programlisting>typedef enum
{
    GNOME_RR_ROTATION_0 =&#160;(1 &lt;&lt; 0),
    GNOME_RR_ROTATION_90 =&#160;(1 &lt;&lt; 1),
    GNOME_RR_ROTATION_180 =&#160;(1 &lt;&lt; 2),
    GNOME_RR_ROTATION_270 =&#160;(1 &lt;&lt; 3),
    GNOME_RR_REFLECT_X =&#160;(1 &lt;&lt; 4),
    GNOME_RR_REFLECT_Y =&#160;(1 &lt;&lt; 5)
} GnomeRRRotation;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="gnome-rr-crtc-get-id" role="function">
<title>gnome_rr_crtc_get_id ()</title>
<indexterm zone="gnome-rr-crtc-get-id"><primary>gnome_rr_crtc_get_id</primary></indexterm>
<programlisting><link linkend="guint32">guint32</link>             gnome_rr_crtc_get_id                (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-set-config" role="function" condition="deprecated:">
<title>gnome_rr_crtc_set_config ()</title>
<indexterm zone="gnome-rr-crtc-set-config" role="deprecated"><primary>gnome_rr_crtc_set_config</primary></indexterm>
<programlisting><link linkend="gboolean">gboolean</link>            gnome_rr_crtc_set_config            (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="int">int</link> x,
                                                         <link linkend="int">int</link> y,
                                                         <link linkend="GnomeRRMode">GnomeRRMode</link> *mode,
                                                         <link linkend="GnomeRRRotation">GnomeRRRotation</link> rotation,
                                                         <link linkend="GnomeRROutput">GnomeRROutput</link> **outputs,
                                                         <link linkend="int">int</link> n_outputs,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<warning><para><literal>gnome_rr_crtc_set_config</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mode</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>rotation</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>outputs</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>n_outputs</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-can-drive-output" role="function">
<title>gnome_rr_crtc_can_drive_output ()</title>
<indexterm zone="gnome-rr-crtc-can-drive-output"><primary>gnome_rr_crtc_can_drive_output</primary></indexterm>
<programlisting><link linkend="gboolean">gboolean</link>            gnome_rr_crtc_can_drive_output      (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="GnomeRROutput">GnomeRROutput</link> *output);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>output</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-get-current-mode" role="function">
<title>gnome_rr_crtc_get_current_mode ()</title>
<indexterm zone="gnome-rr-crtc-get-current-mode"><primary>gnome_rr_crtc_get_current_mode</primary></indexterm>
<programlisting><link linkend="GnomeRRMode">GnomeRRMode</link> *       gnome_rr_crtc_get_current_mode      (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-get-position" role="function">
<title>gnome_rr_crtc_get_position ()</title>
<indexterm zone="gnome-rr-crtc-get-position"><primary>gnome_rr_crtc_get_position</primary></indexterm>
<programlisting><link linkend="void">void</link>                gnome_rr_crtc_get_position          (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="int">int</link> *x,
                                                         <link linkend="int">int</link> *y);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-supports-rotation" role="function">
<title>gnome_rr_crtc_supports_rotation ()</title>
<indexterm zone="gnome-rr-crtc-supports-rotation"><primary>gnome_rr_crtc_supports_rotation</primary></indexterm>
<programlisting><link linkend="gboolean">gboolean</link>            gnome_rr_crtc_supports_rotation     (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc,
                                                         <link linkend="GnomeRRRotation">GnomeRRRotation</link> rotation);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>rotation</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-get-current-rotation" role="function">
<title>gnome_rr_crtc_get_current_rotation ()</title>
<indexterm zone="gnome-rr-crtc-get-current-rotation"><primary>gnome_rr_crtc_get_current_rotation</primary></indexterm>
<programlisting><link linkend="GnomeRRRotation">GnomeRRRotation</link>     gnome_rr_crtc_get_current_rotation  (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-crtc-get-rotations" role="function">
<title>gnome_rr_crtc_get_rotations ()</title>
<indexterm zone="gnome-rr-crtc-get-rotations"><primary>gnome_rr_crtc_get_rotations</primary></indexterm>
<programlisting><link linkend="GnomeRRRotation">GnomeRRRotation</link>     gnome_rr_crtc_get_rotations         (<link linkend="GnomeRRCrtc">GnomeRRCrtc</link> *crtc);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>crtc</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
