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

<refsynopsisdiv id="gnome-desktop3-gnome-rr-config.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

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

typedef             <link linkend="GnomeOutputInfo">GnomeOutputInfo</link>;
typedef             <link linkend="GnomeRRConfig">GnomeRRConfig</link>;
<link linkend="GnomeRRConfig"><returnvalue>GnomeRRConfig</returnvalue></link> *     <link linkend="gnome-rr-config-new-current">gnome_rr_config_new_current</link>         (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>);
<link linkend="GnomeRRConfig"><returnvalue>GnomeRRConfig</returnvalue></link> *     <link linkend="gnome-rr-config-new-stored">gnome_rr_config_new_stored</link>          (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="gnome-rr-config-free">gnome_rr_config_free</link>                (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-match">gnome_rr_config_match</link>               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config1</parameter>,
                                                         <parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config2</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-equal">gnome_rr_config_equal</link>               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config1</parameter>,
                                                         <parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config2</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-save">gnome_rr_config_save</link>                (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="gnome-rr-config-sanitize">gnome_rr_config_sanitize</link>            (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-apply">gnome_rr_config_apply</link>               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-apply-stored">gnome_rr_config_apply_stored</link>        (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="gnome-rr-config-applicable">gnome_rr_config_applicable</link>          (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
</synopsis>
</refsynopsisdiv>

<refsect1 id="gnome-desktop3-gnome-rr-config.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="gnome-desktop3-gnome-rr-config.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GnomeOutputInfo" role="typedef">
<title>GnomeOutputInfo</title>
<indexterm zone="GnomeOutputInfo"><primary>GnomeOutputInfo</primary></indexterm>
<programlisting>typedef struct GnomeOutputInfo GnomeOutputInfo;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="GnomeRRConfig" role="typedef">
<title>GnomeRRConfig</title>
<indexterm zone="GnomeRRConfig"><primary>GnomeRRConfig</primary></indexterm>
<programlisting>typedef struct GnomeRRConfig GnomeRRConfig;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="gnome-rr-config-new-current" role="function">
<title>gnome_rr_config_new_current ()</title>
<indexterm zone="gnome-rr-config-new-current"><primary>gnome_rr_config_new_current</primary></indexterm>
<programlisting><link linkend="GnomeRRConfig"><returnvalue>GnomeRRConfig</returnvalue></link> *     gnome_rr_config_new_current         (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>screen</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-config-new-stored" role="function">
<title>gnome_rr_config_new_stored ()</title>
<indexterm zone="gnome-rr-config-new-stored"><primary>gnome_rr_config_new_stored</primary></indexterm>
<programlisting><link linkend="GnomeRRConfig"><returnvalue>GnomeRRConfig</returnvalue></link> *     gnome_rr_config_new_stored          (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>screen</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-config-free" role="function">
<title>gnome_rr_config_free ()</title>
<indexterm zone="gnome-rr-config-free"><primary>gnome_rr_config_free</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                gnome_rr_config_free                (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>configuration</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-config-match" role="function">
<title>gnome_rr_config_match ()</title>
<indexterm zone="gnome-rr-config-match"><primary>gnome_rr_config_match</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_match               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config1</parameter>,
                                                         <parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config2</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>config1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>config2</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-config-equal" role="function">
<title>gnome_rr_config_equal ()</title>
<indexterm zone="gnome-rr-config-equal"><primary>gnome_rr_config_equal</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_equal               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config1</parameter>,
                                                         <parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *config2</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>config1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>config2</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-config-save" role="function">
<title>gnome_rr_config_save ()</title>
<indexterm zone="gnome-rr-config-save"><primary>gnome_rr_config_save</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_save                (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>configuration</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-config-sanitize" role="function">
<title>gnome_rr_config_sanitize ()</title>
<indexterm zone="gnome-rr-config-sanitize"><primary>gnome_rr_config_sanitize</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                gnome_rr_config_sanitize            (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>configuration</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-config-apply" role="function" condition="deprecated:">
<title>gnome_rr_config_apply ()</title>
<indexterm zone="gnome-rr-config-apply" role="deprecated"><primary>gnome_rr_config_apply</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_apply               (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<warning><para><literal>gnome_rr_config_apply</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>configuration</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>screen</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-config-apply-stored" role="function" condition="deprecated:">
<title>gnome_rr_config_apply_stored ()</title>
<indexterm zone="gnome-rr-config-apply-stored" role="deprecated"><primary>gnome_rr_config_apply_stored</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_apply_stored        (<parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<warning><para><literal>gnome_rr_config_apply_stored</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
See the documentation for <link linkend="gnome-rr-config-apply-from-filename"><function>gnome_rr_config_apply_from_filename()</function></link>.  This
function simply calls that other function with a filename of
<link linkend="gnome-rr-config-get-intended-filename"><function>gnome_rr_config_get_intended_filename()</function></link>.
</para>
<para>
<parameter>Deprecated</parameter>: 2.26: Use <link linkend="gnome-rr-config-apply-from-filename"><function>gnome_rr_config_apply_from_filename()</function></link> instead and pass it
the filename from <link linkend="gnome-rr-config-get-intended-filename"><function>gnome_rr_config_get_intended_filename()</function></link>.
</para><variablelist role="params">
<varlistentry><term><parameter>screen</parameter>&#160;:</term>
<listitem><simpara>A <link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>Location to store error, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-rr-config-applicable" role="function">
<title>gnome_rr_config_applicable ()</title>
<indexterm zone="gnome-rr-config-applicable"><primary>gnome_rr_config_applicable</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            gnome_rr_config_applicable          (<parameter><link linkend="GnomeRRConfig"><type>GnomeRRConfig</type></link> *configuration</parameter>,
                                                         <parameter><link linkend="GnomeRRScreen"><type>GnomeRRScreen</type></link> *screen</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>configuration</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>screen</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>

</refsect1>

</refentry>
