main_pref_window.c File Reference


Detailed Description

Handles main preference window.

Definition in file main_pref_window.c.

#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_window_t *main_window)
 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_window_t *main_window)
 Inits the main preferences window interface.


Function Documentation

static void main_pref_window_connect_signals ( heraia_window_t main_window  )  [static]

Connecting the window signals to the right functions.

Parameters:
main_window : main structure

Definition at line 72 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_window_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_window_t main_window  ) 

Inits the main preferences window interface.

Parameters:
main_window : main structure

Definition at line 156 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_window_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_window_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_window_t *main_window main structure

Definition at line 141 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_window_t *main_window 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_window_t::win_prop, and heraia_window_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 Sat Mar 14 13:44:48 2009 for Heraia by  doxygen 1.5.6