<?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-desktop3-gnome-rr-crtc">
<refmeta>
<refentrytitle role="top_of_page" id="gnome-desktop3-gnome-rr-crtc.top_of_page">gnome-rr-crtc</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  GNOME-DESKTOP3 Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gnome-rr-crtc</refname>
<refpurpose></refpurpose>
</refnamediv>

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

<refsect1 id="gnome-desktop3-gnome-rr-crtc.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="gnome-desktop3-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"><returnvalue>guint32</returnvalue></link>             gnome_rr_crtc_get_id                (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>);</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"><returnvalue>gboolean</returnvalue></link>            gnome_rr_crtc_set_config            (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>,
                                                         <parameter><link linkend="int"><type>int</type></link> x</parameter>,
                                                         <parameter><link linkend="int"><type>int</type></link> y</parameter>,
                                                         <parameter><link linkend="GnomeRRMode"><type>GnomeRRMode</type></link> *mode</parameter>,
                                                         <parameter><link linkend="GnomeRRRotation"><type>GnomeRRRotation</type></link> rotation</parameter>,
                                                         <parameter><link linkend="GnomeRROutput"><type>GnomeRROutput</type></link> **outputs</parameter>,
                                                         <parameter><link linkend="int"><type>int</type></link> n_outputs</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</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"><returnvalue>gboolean</returnvalue></link>            gnome_rr_crtc_can_drive_output      (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>,
                                                         <parameter><link linkend="GnomeRROutput"><type>GnomeRROutput</type></link> *output</parameter>);</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"><returnvalue>GnomeRRMode</returnvalue></link> *       gnome_rr_crtc_get_current_mode      (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>);</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"><returnvalue>void</returnvalue></link>                gnome_rr_crtc_get_position          (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>,
                                                         <parameter><link linkend="int"><type>int</type></link> *x</parameter>,
                                                         <parameter><link linkend="int"><type>int</type></link> *y</parameter>);</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"><returnvalue>gboolean</returnvalue></link>            gnome_rr_crtc_supports_rotation     (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>,
                                                         <parameter><link linkend="GnomeRRRotation"><type>GnomeRRRotation</type></link> rotation</parameter>);</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"><returnvalue>GnomeRRRotation</returnvalue></link>     gnome_rr_crtc_get_current_rotation  (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>);</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"><returnvalue>GnomeRRRotation</returnvalue></link>     gnome_rr_crtc_get_rotations         (<parameter><link linkend="GnomeRRCrtc"><type>GnomeRRCrtc</type></link> *crtc</parameter>);</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>
