<refentry id="gnomeui-gnome-preferences" revision="20 Jun 2000">
<refmeta>
<refentrytitle>gnome-preferences</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOMEUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>gnome-preferences</refname><refpurpose>Fetching and setting GNOME preferences</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;gnome.h&gt;


struct      <link linkend="GnomePreferences">GnomePreferences</link>;
void        <link linkend="gnome-preferences-load">gnome_preferences_load</link>          (void);
void        <link linkend="gnome-preferences-save">gnome_preferences_save</link>          (void);
void        <link linkend="gnome-preferences-load-custom">gnome_preferences_load_custom</link>   (<link linkend="GnomePreferences">GnomePreferences</link> *settings);
void        <link linkend="gnome-preferences-save-custom">gnome_preferences_save_custom</link>   (<link linkend="GnomePreferences">GnomePreferences</link> *settings);
<link linkend="GtkButtonBoxStyle">GtkButtonBoxStyle</link> <link linkend="gnome-preferences-get-button-layout">gnome_preferences_get_button_layout</link>
                                            (void);
void        <link linkend="gnome-preferences-set-button-layout">gnome_preferences_set_button_layout</link>
                                            (<link linkend="GtkButtonBoxStyle">GtkButtonBoxStyle</link> style);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-statusbar-dialog">gnome_preferences_get_statusbar_dialog</link>
                                            (void);
void        <link linkend="gnome-preferences-set-statusbar-dialog">gnome_preferences_set_statusbar_dialog</link>
                                            (<link linkend="gboolean">gboolean</link> statusbar);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-statusbar-interactive">gnome_preferences_get_statusbar_interactive</link>
                                            (void);
void        <link linkend="gnome-preferences-set-statusbar-interactive">gnome_preferences_set_statusbar_interactive</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-statusbar-meter-on-right">gnome_preferences_get_statusbar_meter_on_right</link>
                                            (void);
void        <link linkend="gnome-preferences-set-statusbar-meter-on-right">gnome_preferences_set_statusbar_meter_on_right</link>
                                            (<link linkend="gboolean">gboolean</link> status_meter_on_right);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-menubar-detachable">gnome_preferences_get_menubar_detachable</link>
                                            (void);
void        <link linkend="gnome-preferences-set-menubar-detachable">gnome_preferences_set_menubar_detachable</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-menubar-relief">gnome_preferences_get_menubar_relief</link>
                                            (void);
void        <link linkend="gnome-preferences-set-menubar-relief">gnome_preferences_set_menubar_relief</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-toolbar-detachable">gnome_preferences_get_toolbar_detachable</link>
                                            (void);
void        <link linkend="gnome-preferences-set-toolbar-detachable">gnome_preferences_set_toolbar_detachable</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-toolbar-relief">gnome_preferences_get_toolbar_relief</link>
                                            (void);
void        <link linkend="gnome-preferences-set-toolbar-relief">gnome_preferences_set_toolbar_relief</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-toolbar-relief-btn">gnome_preferences_get_toolbar_relief_btn</link>
                                            (void);
void        <link linkend="gnome-preferences-set-toolbar-relief-btn">gnome_preferences_set_toolbar_relief_btn</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-toolbar-lines">gnome_preferences_get_toolbar_lines</link>
                                            (void);
void        <link linkend="gnome-preferences-set-toolbar-lines">gnome_preferences_set_toolbar_lines</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-toolbar-labels">gnome_preferences_get_toolbar_labels</link>
                                            (void);
void        <link linkend="gnome-preferences-set-toolbar-labels">gnome_preferences_set_toolbar_labels</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-dialog-centered">gnome_preferences_get_dialog_centered</link>
                                            (void);
void        <link linkend="gnome-preferences-set-dialog-centered">gnome_preferences_set_dialog_centered</link>
                                            (<link linkend="gboolean">gboolean</link> b);
<link linkend="GtkWindowType">GtkWindowType</link> <link linkend="gnome-preferences-get-dialog-type">gnome_preferences_get_dialog_type</link>
                                            (void);
void        <link linkend="gnome-preferences-set-dialog-type">gnome_preferences_set_dialog_type</link>
                                            (<link linkend="GtkWindowType">GtkWindowType</link> t);
<link linkend="GtkWindowPosition">GtkWindowPosition</link> <link linkend="gnome-preferences-get-dialog-position">gnome_preferences_get_dialog_position</link>
                                            (void);
void        <link linkend="gnome-preferences-set-dialog-position">gnome_preferences_set_dialog_position</link>
                                            (<link linkend="GtkWindowPosition">GtkWindowPosition</link> p);
<link linkend="GnomeMDIMode">GnomeMDIMode</link> <link linkend="gnome-preferences-get-mdi-mode">gnome_preferences_get_mdi_mode</link> (void);
void        <link linkend="gnome-preferences-set-mdi-mode">gnome_preferences_set_mdi_mode</link>  (<link linkend="GnomeMDIMode">GnomeMDIMode</link> m);
<link linkend="GtkPositionType">GtkPositionType</link> <link linkend="gnome-preferences-get-mdi-tab-pos">gnome_preferences_get_mdi_tab_pos</link>
                                            (void);
void        <link linkend="gnome-preferences-set-mdi-tab-pos">gnome_preferences_set_mdi_tab_pos</link>
                                            (<link linkend="GtkPositionType">GtkPositionType</link> p);
int         <link linkend="gnome-preferences-get-property-box-apply">gnome_preferences_get_property_box_apply</link>
                                            (void);
void        <link linkend="gnome-preferences-set-property-box-button-apply">gnome_preferences_set_property_box_button_apply</link>
                                            (int v);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-preferences-get-menus-have-tearoff">gnome_preferences_get_menus_have_tearoff</link>
                                            (void);
void        <link linkend="gnome-preferences-set-menus-have-tearoff">gnome_preferences_set_menus_have_tearoff</link>
                                            (<link linkend="gboolean">gboolean</link> b);
int         <link linkend="gnome-preferences-get-menus-have-icons">gnome_preferences_get_menus_have_icons</link>
                                            (void);
void        <link linkend="gnome-preferences-set-menus-have-icons">gnome_preferences_set_menus_have_icons</link>
                                            (int have_icons);
int         <link linkend="gnome-preferences-get-disable-imlib-cache">gnome_preferences_get_disable_imlib_cache</link>
                                            (void);
void        <link linkend="gnome-preferences-set-disable-imlib-cache">gnome_preferences_set_disable_imlib_cache</link>
                                            (int disable_imlib_cache);
</synopsis>
</refsynopsisdiv>





<refsect1>
<title>Description</title>

  <para>
    Routines used for loading, saving and accessing the various user
    preferences that are part of the GNOME configuration.
    <link linkend="gnome-init">gnome_init</link>() calls <link linkend="gnome-preferences-load">gnome_preferences_load</link>() at startup.
  </para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GnomePreferences">struct GnomePreferences</title>
<programlisting>struct GnomePreferences {
  GtkButtonBoxStyle dialog_buttons_style;
  int property_box_buttons_ok : 1;
  int property_box_buttons_apply : 1;
  int property_box_buttons_close : 1;
  int property_box_buttons_help : 1;
  int statusbar_not_dialog : 1;
  int statusbar_is_interactive : 1;
  int statusbar_meter_on_right : 1;
  int menubar_detachable : 1;
  int menubar_relief : 1;
  int toolbar_detachable : 1;
  int toolbar_relief : 1;
  int toolbar_relief_btn : 1;
  int toolbar_lines : 1;
  int toolbar_labels : 1;
  int dialog_centered : 1;
  int menus_have_tearoff : 1;
  int menus_have_icons : 1;
  int disable_imlib_cache : 1;
  GtkWindowType dialog_type;
  GtkWindowPosition dialog_position;
  GnomeMDIMode mdi_mode;
  GtkPositionType mdi_tab_pos;
};
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-load">gnome_preferences_load ()</title>
<programlisting>void        gnome_preferences_load          (void);</programlisting>
<para>
Uses <link linkend="gnome-config-xxx">gnome_config_xxx</link>() API to load a standard set of GNOME
preferences into the default GNOME preferences object.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-save">gnome_preferences_save ()</title>
<programlisting>void        gnome_preferences_save          (void);</programlisting>
<para>
Uses <link linkend="gnome-config-xxx">gnome_config_xxx</link>() API to store a standard set of GNOME
preferences using info in the default GNOME preferences object.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-load-custom">gnome_preferences_load_custom ()</title>
<programlisting>void        gnome_preferences_load_custom   (<link linkend="GnomePreferences">GnomePreferences</link> *settings);</programlisting>
<para>
Uses <link linkend="gnome-config-xxx">gnome_config_xxx</link>() interface to load a set of
standard GNOME preferences into the specified <parameter>settings</parameter> object.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>settings</parameter>&nbsp;:</entry>
<entry> App-specified set of user preferences
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-save-custom">gnome_preferences_save_custom ()</title>
<programlisting>void        gnome_preferences_save_custom   (<link linkend="GnomePreferences">GnomePreferences</link> *settings);</programlisting>
<para>
Uses <link linkend="gnome-config-xxx">gnome_config_xxx</link>() interface to store a set of
standard GNOME preferences from info in the <parameter>settings</parameter> object.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>settings</parameter>&nbsp;:</entry>
<entry> App-specified set of user preferences
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-button-layout">gnome_preferences_get_button_layout ()</title>
<programlisting><link linkend="GtkButtonBoxStyle">GtkButtonBoxStyle</link> gnome_preferences_get_button_layout
                                            (void);</programlisting>
<para>
Obtain the button style from the default GNOME preferences object.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>
Enumerated type indicating the default GNOME dialog button style.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-button-layout">gnome_preferences_set_button_layout ()</title>
<programlisting>void        gnome_preferences_set_button_layout
                                            (<link linkend="GtkButtonBoxStyle">GtkButtonBoxStyle</link> style);</programlisting>
<para>
Set the default GNOME preferences object's default button style.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>style</parameter>&nbsp;:</entry>
<entry> Enumerated type indicating the default GNOME dialog button style.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-statusbar-dialog">gnome_preferences_get_statusbar_dialog ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_statusbar_dialog
                                            (void);</programlisting>
<para>
Determine whether or not the statusbar is a dialog.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>
<literal>FALSE</literal> if statusbar is a dialog, <literal>TRUE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-statusbar-dialog">gnome_preferences_set_statusbar_dialog ()</title>
<programlisting>void        gnome_preferences_set_statusbar_dialog
                                            (<link linkend="gboolean">gboolean</link> statusbar);</programlisting>
<para>
Indicate whether or not the default for GNOME status bars
is a dialog.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>statusbar</parameter>&nbsp;:</entry>
<entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-statusbar-interactive">gnome_preferences_get_statusbar_interactive ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_statusbar_interactive
                                            (void);</programlisting>
<para>
Determine whether or not the statusbar is interactive.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>
<literal>TRUE</literal> if statusbar is interactive, <literal>FALSE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-statusbar-interactive">gnome_preferences_set_statusbar_interactive ()</title>
<programlisting>void        gnome_preferences_set_statusbar_interactive
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
Indicate whether or not the GNOME status bars are, by default,
interactive.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry> <literal>TRUE</literal> if statusbar is interactive, <literal>FALSE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-statusbar-meter-on-right">gnome_preferences_get_statusbar_meter_on_right ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_statusbar_meter_on_right
                                            (void);</programlisting>
<para>
Determine whether or not the statusbar's meter is on the right-hand side.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>
<literal>TRUE</literal> if statusbar meter is on the right side, <literal>FALSE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-statusbar-meter-on-right">gnome_preferences_set_statusbar_meter_on_right ()</title>
<programlisting>void        gnome_preferences_set_statusbar_meter_on_right
                                            (<link linkend="gboolean">gboolean</link> status_meter_on_right);</programlisting>
<para>
Indicate whether or not the GNOME status bars are, by default,
on the right-hand side.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>status_meter_on_right</parameter>&nbsp;:</entry>
<entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-menubar-detachable">gnome_preferences_get_menubar_detachable ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_menubar_detachable
                                            (void);</programlisting>
<para>
Determine whether or not a menu bar is, by default,
detachable from its parent frame.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>
<literal>TRUE</literal> if menu bars are detachable, <literal>FALSE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-menubar-detachable">gnome_preferences_set_menubar_detachable ()</title>
<programlisting>void        gnome_preferences_set_menubar_detachable
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
Indicate whether or not the GNOME menu bars are, by default,
detachable from their parent frame.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry> <literal>TRUE</literal> if menu bars are detachable, <literal>FALSE</literal> if not.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-menubar-relief">gnome_preferences_get_menubar_relief ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_menubar_relief
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> the relieft settings for the menubar.
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-menubar-relief">gnome_preferences_set_menubar_relief ()</title>
<programlisting>void        gnome_preferences_set_menubar_relief
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry> 
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-toolbar-detachable">gnome_preferences_get_toolbar_detachable ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_toolbar_detachable
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-toolbar-detachable">gnome_preferences_set_toolbar_detachable ()</title>
<programlisting>void        gnome_preferences_set_toolbar_detachable
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-toolbar-relief">gnome_preferences_get_toolbar_relief ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_toolbar_relief
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-toolbar-relief">gnome_preferences_set_toolbar_relief ()</title>
<programlisting>void        gnome_preferences_set_toolbar_relief
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-toolbar-relief-btn">gnome_preferences_get_toolbar_relief_btn ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_toolbar_relief_btn
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-toolbar-relief-btn">gnome_preferences_set_toolbar_relief_btn ()</title>
<programlisting>void        gnome_preferences_set_toolbar_relief_btn
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-toolbar-lines">gnome_preferences_get_toolbar_lines ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_toolbar_lines
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-toolbar-lines">gnome_preferences_set_toolbar_lines ()</title>
<programlisting>void        gnome_preferences_set_toolbar_lines
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-toolbar-labels">gnome_preferences_get_toolbar_labels ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_toolbar_labels
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-toolbar-labels">gnome_preferences_set_toolbar_labels ()</title>
<programlisting>void        gnome_preferences_set_toolbar_labels
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-dialog-centered">gnome_preferences_get_dialog_centered ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_dialog_centered
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-dialog-centered">gnome_preferences_set_dialog_centered ()</title>
<programlisting>void        gnome_preferences_set_dialog_centered
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-dialog-type">gnome_preferences_get_dialog_type ()</title>
<programlisting><link linkend="GtkWindowType">GtkWindowType</link> gnome_preferences_get_dialog_type
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-dialog-type">gnome_preferences_set_dialog_type ()</title>
<programlisting>void        gnome_preferences_set_dialog_type
                                            (<link linkend="GtkWindowType">GtkWindowType</link> t);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>t</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-dialog-position">gnome_preferences_get_dialog_position ()</title>
<programlisting><link linkend="GtkWindowPosition">GtkWindowPosition</link> gnome_preferences_get_dialog_position
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-dialog-position">gnome_preferences_set_dialog_position ()</title>
<programlisting>void        gnome_preferences_set_dialog_position
                                            (<link linkend="GtkWindowPosition">GtkWindowPosition</link> p);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>p</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-mdi-mode">gnome_preferences_get_mdi_mode ()</title>
<programlisting><link linkend="GnomeMDIMode">GnomeMDIMode</link> gnome_preferences_get_mdi_mode (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-mdi-mode">gnome_preferences_set_mdi_mode ()</title>
<programlisting>void        gnome_preferences_set_mdi_mode  (<link linkend="GnomeMDIMode">GnomeMDIMode</link> m);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>m</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-mdi-tab-pos">gnome_preferences_get_mdi_tab_pos ()</title>
<programlisting><link linkend="GtkPositionType">GtkPositionType</link> gnome_preferences_get_mdi_tab_pos
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-mdi-tab-pos">gnome_preferences_set_mdi_tab_pos ()</title>
<programlisting>void        gnome_preferences_set_mdi_tab_pos
                                            (<link linkend="GtkPositionType">GtkPositionType</link> p);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>p</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-property-box-apply">gnome_preferences_get_property_box_apply ()</title>
<programlisting>int         gnome_preferences_get_property_box_apply
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-property-box-button-apply">gnome_preferences_set_property_box_button_apply ()</title>
<programlisting>void        gnome_preferences_set_property_box_button_apply
                                            (int v);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>v</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-menus-have-tearoff">gnome_preferences_get_menus_have_tearoff ()</title>
<programlisting><link linkend="gboolean">gboolean</link>    gnome_preferences_get_menus_have_tearoff
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-menus-have-tearoff">gnome_preferences_set_menus_have_tearoff ()</title>
<programlisting>void        gnome_preferences_set_menus_have_tearoff
                                            (<link linkend="gboolean">gboolean</link> b);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>b</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-menus-have-icons">gnome_preferences_get_menus_have_icons ()</title>
<programlisting>int         gnome_preferences_get_menus_have_icons
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-menus-have-icons">gnome_preferences_set_menus_have_icons ()</title>
<programlisting>void        gnome_preferences_set_menus_have_icons
                                            (int have_icons);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>have_icons</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-get-disable-imlib-cache">gnome_preferences_get_disable_imlib_cache ()</title>
<programlisting>int         gnome_preferences_get_disable_imlib_cache
                                            (void);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>

</entry></row>
</tbody></tgroup></informaltable></refsect2>
<refsect2>
<title><anchor id="gnome-preferences-set-disable-imlib-cache">gnome_preferences_set_disable_imlib_cache ()</title>
<programlisting>void        gnome_preferences_set_disable_imlib_cache
                                            (int disable_imlib_cache);</programlisting>
<para>
</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>disable_imlib_cache</parameter>&nbsp;:</entry>
<entry>
</entry></row>
</tbody></tgroup></informaltable></refsect2>

</refsect1>



<refsect1>
<title>See Also</title>
<para>
    <link linkend="gnome-init">gnome_init</link>(), <link linkend="gnome-init-with-popt-table">gnome_init_with_popt_table</link>()
</para>
</refsect1>

</refentry>
