goto_dialog.c File Reference

File for the goto dialog window that lets one go everywhere in the file. More...

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

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.
static void destroy_goto_dialog_event (GtkWidget *widget, GdkEvent *event, gpointer data)
 Call back function for the goto dialog window destruction.
static void goto_dialog_canceled (GtkWidget *widget, gpointer data)
 Closing the window effectively.
static void goto_dialog_connect_signal (heraia_struct_t *main_struct)
 Signal connections for the goto dialog window.
void on_goto_activate (GtkWidget *widget, gpointer data)
 Go to.
void goto_dialog_init_interface (heraia_struct_t *main_struct)
 Inits all the things in the goto dialog window (signal and such).
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.

Detailed Description

File for the goto dialog window that lets one go everywhere in the file.

Definition in file goto_dialog.c.


Function Documentation

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

Call back function for the goto dialog window destruction.

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

Definition at line 74 of file goto_dialog.c.

References goto_dialog_canceled().

Referenced by goto_dialog_connect_signal().

Here is the call graph for this function:

Here is the caller graph for this function:

static void destroy_goto_dialog_event ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
) [static]

Call back function for the goto dialog window destruction.

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 : 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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void goto_dialog_canceled ( GtkWidget *  widget,
gpointer  data 
) [static]

Closing the window effectively.

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void goto_dialog_connect_signal ( heraia_struct_t main_struct  )  [static]

Signal connections for the goto dialog window.

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:

void goto_dialog_init_interface ( heraia_struct_t main_struct  ) 

Inits all the things in the goto dialog window (signal and such).

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void goto_dialog_ok ( GtkWidget *  widget,
gpointer  data 
) [static]

Ok button has been clicked we want to go to the byte number from the entry.

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:

void on_goto_activate ( GtkWidget *  widget,
gpointer  data 
)

Go to.

.., edit menu

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Mon May 2 21:05:09 2011 for Heraia by  doxygen 1.6.3