Handles main preference window. More...
#include <libheraia.h>
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. |
Handles main preference window.
Definition in file main_pref_window.c.
static void main_pref_window_connect_signals | ( | heraia_struct_t * | main_struct | ) | [static] |
Connecting the window signals to the right functions.
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().
void main_pref_window_init_interface | ( | heraia_struct_t * | main_struct | ) |
Inits the main preferences window interface.
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().
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().
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().
static void on_mp_thousand_bt_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | data | |||
) | [static] |
Refreshes the file labels as an option has been sat.
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().
static gboolean pref_window_delete | ( | GtkWidget * | widget, | |
GdkEvent * | event, | |||
gpointer | data | |||
) | [static] |
Closing the window.
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 |
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().