Details
struct GnomePreferences
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;
}; |
gnome_preferences_load ()
void gnome_preferences_load (void); |
Uses gnome_config_xxx() API to load a standard set of GNOME
preferences into the default GNOME preferences object.
gnome_preferences_save ()
void gnome_preferences_save (void); |
Uses gnome_config_xxx() API to store a standard set of GNOME
preferences using info in the default GNOME preferences object.
gnome_preferences_load_custom ()
Uses gnome_config_xxx() interface to load a set of
standard GNOME preferences into the specified settings object.
gnome_preferences_save_custom ()
Uses gnome_config_xxx() interface to store a set of
standard GNOME preferences from info in the settings object.
gnome_preferences_get_button_layout ()
GtkButtonBoxStyle gnome_preferences_get_button_layout
(void); |
Obtain the button style from the default GNOME preferences object.
gnome_preferences_set_button_layout ()
void gnome_preferences_set_button_layout
(GtkButtonBoxStyle style); |
Set the default GNOME preferences object's default button style.
gnome_preferences_get_statusbar_dialog ()
gboolean gnome_preferences_get_statusbar_dialog
(void); |
Determine whether or not the statusbar is a dialog.
gnome_preferences_set_statusbar_dialog ()
void gnome_preferences_set_statusbar_dialog
(gboolean statusbar); |
Indicate whether or not the default for GNOME status bars
is a dialog.
gnome_preferences_get_statusbar_interactive ()
gboolean gnome_preferences_get_statusbar_interactive
(void); |
Determine whether or not the statusbar is interactive.
gnome_preferences_set_statusbar_interactive ()
void gnome_preferences_set_statusbar_interactive
(gboolean b); |
Indicate whether or not the GNOME status bars are, by default,
interactive.
gnome_preferences_get_statusbar_meter_on_right ()
gboolean gnome_preferences_get_statusbar_meter_on_right
(void); |
Determine whether or not the statusbar's meter is on the right-hand side.
gnome_preferences_set_statusbar_meter_on_right ()
void gnome_preferences_set_statusbar_meter_on_right
(gboolean status_meter_on_right); |
Indicate whether or not the GNOME status bars are, by default,
on the right-hand side.
gnome_preferences_get_menubar_detachable ()
gboolean gnome_preferences_get_menubar_detachable
(void); |
Determine whether or not a menu bar is, by default,
detachable from its parent frame.
gnome_preferences_set_menubar_detachable ()
void gnome_preferences_set_menubar_detachable
(gboolean b); |
Indicate whether or not the GNOME menu bars are, by default,
detachable from their parent frame.
gnome_preferences_get_menubar_relief ()
gboolean gnome_preferences_get_menubar_relief
(void); |
gnome_preferences_set_menubar_relief ()
void gnome_preferences_set_menubar_relief
(gboolean b); |
gnome_preferences_get_toolbar_detachable ()
gboolean gnome_preferences_get_toolbar_detachable
(void); |
gnome_preferences_set_toolbar_detachable ()
void gnome_preferences_set_toolbar_detachable
(gboolean b); |
gnome_preferences_get_toolbar_relief ()
gboolean gnome_preferences_get_toolbar_relief
(void); |
gnome_preferences_set_toolbar_relief ()
void gnome_preferences_set_toolbar_relief
(gboolean b); |
gnome_preferences_get_toolbar_relief_btn ()
gboolean gnome_preferences_get_toolbar_relief_btn
(void); |
gnome_preferences_set_toolbar_relief_btn ()
void gnome_preferences_set_toolbar_relief_btn
(gboolean b); |
gnome_preferences_get_toolbar_lines ()
gboolean gnome_preferences_get_toolbar_lines
(void); |
gnome_preferences_set_toolbar_lines ()
void gnome_preferences_set_toolbar_lines
(gboolean b); |
gnome_preferences_get_toolbar_labels ()
gboolean gnome_preferences_get_toolbar_labels
(void); |
gnome_preferences_set_toolbar_labels ()
void gnome_preferences_set_toolbar_labels
(gboolean b); |
gnome_preferences_get_dialog_centered ()
gboolean gnome_preferences_get_dialog_centered
(void); |
gnome_preferences_set_dialog_centered ()
void gnome_preferences_set_dialog_centered
(gboolean b); |
gnome_preferences_get_dialog_type ()
GtkWindowType gnome_preferences_get_dialog_type
(void); |
gnome_preferences_set_dialog_type ()
void gnome_preferences_set_dialog_type
(GtkWindowType t); |
gnome_preferences_get_dialog_position ()
GtkWindowPosition gnome_preferences_get_dialog_position
(void); |
gnome_preferences_set_dialog_position ()
void gnome_preferences_set_dialog_position
(GtkWindowPosition p); |
gnome_preferences_get_mdi_mode ()
gnome_preferences_set_mdi_mode ()
gnome_preferences_get_mdi_tab_pos ()
GtkPositionType gnome_preferences_get_mdi_tab_pos
(void); |
gnome_preferences_set_mdi_tab_pos ()
void gnome_preferences_set_mdi_tab_pos
(GtkPositionType p); |
gnome_preferences_get_property_box_apply ()
int gnome_preferences_get_property_box_apply
(void); |
gnome_preferences_set_property_box_button_apply ()
void gnome_preferences_set_property_box_button_apply
(int v); |
gnome_preferences_get_menus_have_tearoff ()
gboolean gnome_preferences_get_menus_have_tearoff
(void); |
gnome_preferences_set_menus_have_tearoff ()
void gnome_preferences_set_menus_have_tearoff
(gboolean b); |
gnome_preferences_get_menus_have_icons ()
int gnome_preferences_get_menus_have_icons
(void); |
gnome_preferences_set_menus_have_icons ()
void gnome_preferences_set_menus_have_icons
(int have_icons); |
gnome_preferences_get_disable_imlib_cache ()
int gnome_preferences_get_disable_imlib_cache
(void); |
gnome_preferences_set_disable_imlib_cache ()
void gnome_preferences_set_disable_imlib_cache
(int disable_imlib_cache); |