Heraia
0.1.8
|
File for the goto dialog window that lets one go everywhere in the file. More...
#include <libheraia.h>
Go to the source code of this file.
Functions | |
static gboolean | delete_goto_dialog_event (GtkWidget *widget, GdkEvent *event, gpointer data) |
Call back function for the goto dialog window destruction. More... | |
static void | destroy_goto_dialog_event (GtkWidget *widget, GdkEvent *event, gpointer data) |
Call back function for the goto dialog window destruction. More... | |
static void | goto_dialog_canceled (GtkWidget *widget, gpointer data) |
Closing the window effectively. More... | |
static void | goto_dialog_connect_signal (heraia_struct_t *main_struct) |
Signal connections for the goto dialog window. More... | |
void | on_goto_activate (GtkWidget *widget, gpointer data) |
Go to..., edit menu. More... | |
void | goto_dialog_init_interface (heraia_struct_t *main_struct) |
Inits all the things in the goto dialog window (signal and such) More... | |
static void | goto_dialog_ok (GtkWidget *widget, gpointer data) |
Ok button has been clicked we want to go to the byte number from the entry. More... | |
File for the goto dialog window that lets one go everywhere in the file.
Definition in file goto_dialog.c.
|
static |
Call back function for the goto dialog window destruction.
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 |
Definition at line 74 of file goto_dialog.c.
References goto_dialog_canceled().
Referenced by goto_dialog_connect_signal().
|
static |
Call back function for the goto dialog window destruction.
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 | : user data - not used (may be NULL) |
Definition at line 88 of file goto_dialog.c.
References goto_dialog_canceled().
Referenced by goto_dialog_connect_signal().
|
static |
Closing the window effectively.
widget | : calling widget |
data | : MUST be heraia_struct_t *main_struct main structure and not NULL |
< dialog window itself
Definition at line 99 of file goto_dialog.c.
References all_window_prop_t::goto_window, heraia_get_widget(), xml_t::main, show_hide_widget(), heraia_struct_t::win_prop, and heraia_struct_t::xmls.
Referenced by delete_goto_dialog_event(), destroy_goto_dialog_event(), and goto_dialog_connect_signal().
|
static |
Signal connections for the goto dialog window.
main_struct | : heraia's main structure |
Definition at line 186 of file goto_dialog.c.
References delete_goto_dialog_event(), destroy_goto_dialog_event(), goto_dialog_canceled(), goto_dialog_ok(), heraia_get_widget(), xml_t::main, and heraia_struct_t::xmls.
Referenced by goto_dialog_init_interface().
void goto_dialog_init_interface | ( | heraia_struct_t * | main_struct | ) |
Inits all the things in the goto dialog window (signal and such)
main_struct | : heraia's main structure |
Definition at line 59 of file goto_dialog.c.
References goto_dialog_connect_signal(), xml_t::main, and heraia_struct_t::xmls.
Referenced by load_heraia_ui().
|
static |
Ok button has been clicked we want to go to the byte number from the entry.
widget | : calling widget |
data | : MUST be heraia_struct_t *main_struct main structure and not NULL |
< a radio button from the group
< the radio button which is active within this group
Definition at line 117 of file goto_dialog.c.
References heraia_struct_t::current_doc, ghex_file_size(), ghex_get_cursor_position(), ghex_set_cursor_position(), gtk_radio_button_get_active_from_widget(), heraia_get_widget(), doc_t::hex_widget, xml_t::main, and heraia_struct_t::xmls.
Referenced by goto_dialog_connect_signal().
void on_goto_activate | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Go to..., edit menu.
widget | : the widget that issued the signal |
data | : user data MUST be heraia_struct_t *main_struct main structure |
< dialog window itself
Definition at line 42 of file goto_dialog.c.
References heraia_struct_t::current_doc, all_window_prop_t::goto_window, heraia_get_widget(), xml_t::main, show_hide_widget(), heraia_struct_t::win_prop, and heraia_struct_t::xmls.
Referenced by heraia_ui_connect_signals().