main_pref_window.c File Reference

Handles main preference window. More...

#include <libheraia.h>
Include dependency graph for main_pref_window.c:

Go to the source code of this file.

Functions

static gboolean pref_window_delete (GtkWidget *widget, GdkEvent *event, gpointer data)
 Closing the window.
static void main_pref_window_connect_signals (heraia_struct_t *main_struct)
 Connecting the window signals to the right functions.
static void on_mp_tb_fp_bt_toggled (GtkToggleToolButton *toolbutton, gpointer data)
static void on_mp_tb_display_bt_toggled (GtkToggleToolButton *toolbutton, gpointer data)
static void on_mp_thousand_bt_toggled (GtkToggleButton *togglebutton, gpointer data)
 Refreshes the file labels as an option has been sat.
void main_pref_window_init_interface (heraia_struct_t *main_struct)
 Inits the main preferences window interface.

Detailed Description

Handles main preference window.

Definition in file main_pref_window.c.


Function Documentation

static void main_pref_window_connect_signals ( heraia_struct_t main_struct  )  [static]

Connecting the window signals to the right functions.

Parameters:
main_struct : main structure

Definition at line 73 of file main_pref_window.c.

References heraia_get_widget(), xml_t::main, on_mp_tb_display_bt_toggled(), on_mp_tb_fp_bt_toggled(), on_mp_thousand_bt_toggled(), pref_window_delete(), and heraia_struct_t::xmls.

Referenced by main_pref_window_init_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

void main_pref_window_init_interface ( heraia_struct_t main_struct  ) 

Inits the main preferences window interface.

Parameters:
main_struct : main structure

Definition at line 157 of file main_pref_window.c.

References main_pref_window_connect_signals().

Referenced by load_heraia_ui().

Here is the call graph for this function:

Here is the caller graph for this function:

static void on_mp_tb_display_bt_toggled ( GtkToggleToolButton *  toolbutton,
gpointer  data 
) [static]

Definition at line 122 of file main_pref_window.c.

References heraia_get_widget(), xml_t::main, and heraia_struct_t::xmls.

Referenced by main_pref_window_connect_signals().

Here is the call graph for this function:

Here is the caller graph for this function:

static void on_mp_tb_fp_bt_toggled ( GtkToggleToolButton *  toolbutton,
gpointer  data 
) [static]

Definition at line 103 of file main_pref_window.c.

References heraia_get_widget(), xml_t::main, and heraia_struct_t::xmls.

Referenced by main_pref_window_connect_signals().

Here is the call graph for this function:

Here is the caller graph for this function:

static void on_mp_thousand_bt_toggled ( GtkToggleButton *  togglebutton,
gpointer  data 
) [static]

Refreshes the file labels as an option has been sat.

Parameters:
togglebutton : button that was toggled
data : user data : MUST be heraia_struct_t *main_struct main structure

Definition at line 142 of file main_pref_window.c.

References refresh_file_labels().

Referenced by main_pref_window_connect_signals().

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean pref_window_delete ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
) [static]

Closing the window.

Parameters:
widget : calling widget (may be NULL as we don't use this here)
event : event associated (may be NULL as we don't use this here)
data : MUST be heraia_struct_t *main_struct main structure and not NULL
Returns:
Always returns TRUE in order to propagate the signal

Definition at line 52 of file main_pref_window.c.

References heraia_get_widget(), xml_t::main, all_window_prop_t::main_pref_window, record_and_hide_dialog_box(), save_preferences(), heraia_struct_t::win_prop, and heraia_struct_t::xmls.

Referenced by main_pref_window_connect_signals().

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Tue May 11 18:47:13 2010 for Heraia by  doxygen 1.6.3