/ gwsettingswindowbox.h / Functions / Description

Functions



gw_settings_window_box_create

Creates a settings window box.
GtkWindow * gw_settings_window_box_create ( GtkWindow *window);
This function creates a settings window box.

Parameters
w the parent window

Result: the settings window box.
Returns NULL when an error occured..


gw_settings_window_box_load_sections

Loads all sections of the settings window box.
gboolean gw_settings_window_box_load_sections ( GtkWindow *settings);
This function loads all sections of the settings window box.

Parameters
settings settings window box

Result: an error code.
Returns TRUE when it's done. Returns FALSE when an error occured..


gw_settings_window_box_set_modified

Indicates to the settings that some values are modified.
gint gw_settings_window_box_set_modified ( GtkWindow *w, gboolean state);
This function indicates to the settings that some values are modified.

Parameters
w settings window box
state state is modified or no

Result: an error code.
Returns 0 when it's done. Returns -1 when an error occured..


gw_settings_window_box_get_ctree

Gets the settings ctree.
GtkCTree * gw_settings_window_box_get_ctree ( GtkWindow *w);
This function gets the settings ctree.

Parameters
w settings window box

Result: the ctree of the settings window box Returns NULL when an error occured..


gw_settings_window_box_get_notebook

Gets the settings notebook.
GtkNotebook * gw_settings_window_box_get_notebook ( GtkWindow *w);
This function gets the settings notebook.

Parameters
w the settings window box

Result: the notebook of the settings window box Returns NULL when an error occured..


gw_settings_window_box_get_ok_button

Gets the ok button.
GtkButton * gw_settings_window_box_get_ok_button ( GtkWindow *w);
This function gets the ok button.

Parameters
w the settings window box

Result: the ok button of the settings window box Returns NULL when an error occured..


gw_settings_window_box_get_cancel_button

Gets the cancel button.
GtkButton * gw_settings_window_box_get_cancel_button ( GtkWindow *w);
This function gets the cancel button.

Parameters
w the settings window box

Result: the cancel button of the settings window box Returns NULL when an error occured..


gw_settings_window_box_get_apply_button

Gets the apply button.
GtkButton * gw_settings_window_box_get_apply_button ( GtkWindow *w);
This function gets the apply button.

Parameters
w the settings window box

Result: the apply button of the settings window box Returns NULL when an error occured..


gw_settings_window_box_get_main_window

Gets the parent window.
GtkWindow * gw_settings_window_box_get_main_window ( GtkWindow *w);
This function gets the parent window of the settings window box.

Parameters
w the settings window box

Result: the parent window of the settings window box Returns NULL when an error occured..


gw_settings_window_box_apply_button_set_enable

Sets the enable state of the apply button.
gint gw_settings_window_box_apply_button_set_enable ( GtkWindow *w, gboolean state);
This function sets the enable state of the apply button.

Parameters
w the settings window box
state the enable state

Result: an error code.
Returns 0 when it's done. Returns -1 when an error occured..


gw_settings_window_box_apply_button_get_enable

Sets the enable state of the apply button.
gboolean gw_settings_window_box_apply_button_get_enable ( GtkWindow *w);
This function sets the enable state of the apply button.

Parameters
w the settings window box

Result: enable state.
Returns TRUE if it is enabled. Returns FALSE if it is not enabled or when an error occured..