Heraia
0.1.8
|
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. More... | |
static void | main_pref_window_connect_signals (heraia_struct_t *main_struct) |
Connecting the window signals to the right functions. More... | |
static void | on_mp_tb_fp_bt_toggled (GtkToggleToolButton *tool_button, gpointer data) |
static void | on_mp_tb_display_bt_toggled (GtkToggleToolButton *tool_button, gpointer data) |
static void | on_mp_thousand_bt_toggled (GtkToggleButton *toggle_button, gpointer data) |
Refreshes the file labels as an option has been sat. More... | |
static void | on_mp_display_offset_bt_toggled (GtkToggleButton *toggle_button, gpointer data) |
Displays or not offsets. More... | |
void | main_pref_window_init_interface (heraia_struct_t *main_struct) |
Inits the main preferences window interface. More... | |
Handles main preference window.
Definition in file main_pref_window.c.
|
static |
Connecting the window signals to the right functions.
main_struct | : main structure |
Definition at line 74 of file main_pref_window.c.
References heraia_get_widget(), xml_t::main, on_mp_display_offset_bt_toggled(), 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 185 of file main_pref_window.c.
References main_pref_window_connect_signals().
Referenced by load_heraia_ui().
|
static |
Displays or not offsets.
togglebutton | : button that was toggled |
data | : user data : MUST be heraia_struct_t *main_struct main structure |
Definition at line 160 of file main_pref_window.c.
References heraia_struct_t::documents, and doc_t::hex_widget.
Referenced by main_pref_window_connect_signals().
|
static |
Definition at line 127 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 |
Definition at line 108 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 |
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 147 of file main_pref_window.c.
References refresh_file_labels().
Referenced by main_pref_window_connect_signals().
|
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 53 of file main_pref_window.c.
References heraia_get_widget(), xml_t::main, all_window_prop_t::main_pref_window, heraia_struct_t::prefs, record_and_hide_dialog_box(), save_preferences(), heraia_struct_t::win_prop, and heraia_struct_t::xmls.
Referenced by main_pref_window_connect_signals().