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

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

<refsect1 id="gnome-desktop-gnome-rr-config.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="gnome-desktop-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">GnomeRRConfig</link> *     gnome_rr_config_new_current         (<link linkend="GnomeRRScreen">GnomeRRScreen</link> *screen);</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">GnomeRRConfig</link> *     gnome_rr_config_new_stored          (<link linkend="GnomeRRScreen">GnomeRRScreen</link> *screen,
                                                         <link linkend="GError">GError</link> **error);</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">void</link>                gnome_rr_config_free                (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *configuration);</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">gboolean</link>            gnome_rr_config_match               (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *config1,
                                                         <link linkend="GnomeRRConfig">GnomeRRConfig</link> *config2);</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">gboolean</link>            gnome_rr_config_equal               (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *config1,
                                                         <link linkend="GnomeRRConfig">GnomeRRConfig</link> *config2);</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">gboolean</link>            gnome_rr_config_save                (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *configuration,
                                                         <link linkend="GError">GError</link> **error);</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">void</link>                gnome_rr_config_sanitize            (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *configuration);</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">gboolean</link>            gnome_rr_config_apply               (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *configuration,
                                                         <link linkend="GnomeRRScreen">GnomeRRScreen</link> *screen,
                                                         <link linkend="GError">GError</link> **error);</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">gboolean</link>            gnome_rr_config_apply_stored        (<link linkend="GnomeRRScreen">GnomeRRScreen</link> *screen,
                                                         <link linkend="GError">GError</link> **error);</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>
<para>
</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">gboolean</link>            gnome_rr_config_applicable          (<link linkend="GnomeRRConfig">GnomeRRConfig</link> *configuration,
                                                         <link linkend="GnomeRRScreen">GnomeRRScreen</link> *screen,
                                                         <link linkend="GError">GError</link> **error);</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>
