#include "heraia_types.h"
Go to the source code of this file.
Functions | |
static void | my_log (heraia_window_t *main_window, gchar *log_domain, GLogLevelFlags log_level, const char *format,...) |
static void | log_window_connect_signals (heraia_window_t *main_window) |
static gboolean | delete_log_window_event (GtkWidget *widget, GdkEvent *event, gpointer data) |
static void | destroy_log_window (GtkWidget *widget, GdkEvent *event, gpointer data) |
static void | logw_close_clicked (GtkWidget *widget, gpointer data) |
void | print_message (const char *format,...) |
void | log_message (heraia_window_t *main_window, GLogLevelFlags log_level, const char *format,...) |
void | show_hide_log_window (heraia_window_t *main_window, gboolean show, GtkCheckMenuItem *cmi) |
void | mw_cmi_affiche_logw_toggle (GtkWidget *widget, gpointer data) |
void | log_window_init_interface (heraia_window_t *main_window) |
static gboolean delete_log_window_event | ( | GtkWidget * | widget, | |
GdkEvent * | event, | |||
gpointer | data | |||
) | [static] |
Closing the window
Definition at line 243 of file log.c.
References logw_close_clicked().
Referenced by log_window_connect_signals().
static void destroy_log_window | ( | GtkWidget * | widget, | |
GdkEvent * | event, | |||
gpointer | data | |||
) | [static] |
Definition at line 250 of file log.c.
References logw_close_clicked().
Referenced by log_window_connect_signals().
void log_message | ( | heraia_window_t * | main_window, | |
GLogLevelFlags | log_level, | |||
const char * | format, | |||
... | ||||
) |
A function that helps logging a message a the specified level
Definition at line 144 of file log.c.
References heraia_window_t::debug, HERAIA_LOG_DOMAIN, and my_log().
Referenced by dt_ok_button_clicked(), get_plugin_handle(), get_plugin_init_symbol(), init(), init_heraia_plugin_system(), init_plugin(), init_plugin_name_tv(), ldt_save_button_clicked(), load_file_to_analyse(), load_plugins(), main(), on_coller1_activate(), on_copier1_activate(), on_couper1_activate(), on_nouveau1_activate(), on_save_activate(), on_save_as_activate(), on_supprimer1_activate(), realize_some_numerical_stat(), select_file_to_load(), and show_data_type_window().
static void log_window_connect_signals | ( | heraia_window_t * | main_window | ) | [static] |
Connecting the window signals to the right functions
Definition at line 270 of file log.c.
References delete_log_window_event(), destroy_log_window(), heraia_get_widget(), logw_close_clicked(), xml_t::main, mw_cmi_affiche_logw_toggle(), and heraia_window_t::xmls.
Referenced by log_window_init_interface().
void log_window_init_interface | ( | heraia_window_t * | main_window | ) |
Inits the log window interface
Definition at line 296 of file log.c.
References log_window_connect_signals().
Referenced by load_heraia_ui().
static void logw_close_clicked | ( | GtkWidget * | widget, | |
gpointer | data | |||
) | [static] |
Close button is clicked
Definition at line 258 of file log.c.
References heraia_get_widget(), xml_t::main, show_hide_log_window(), and heraia_window_t::xmls.
Referenced by delete_log_window_event(), destroy_log_window(), and log_window_connect_signals().
void mw_cmi_affiche_logw_toggle | ( | GtkWidget * | widget, | |
gpointer | data | |||
) |
The Check menu item for the Log window
Definition at line 228 of file log.c.
References show_hide_log_window().
Referenced by log_window_connect_signals().
static void my_log | ( | heraia_window_t * | main_window, | |
gchar * | log_domain, | |||
GLogLevelFlags | log_level, | |||
const char * | format, | |||
... | ||||
) | [static] |
A function that allow me to printy things on stdout and in th log window
The log function
Definition at line 74 of file log.c.
References heraia_get_widget(), xml_t::main, and heraia_window_t::xmls.
Referenced by log_message().
void print_message | ( | const char * | format, | |
... | ||||
) |
void show_hide_log_window | ( | heraia_window_t * | main_window, | |
gboolean | show, | |||
GtkCheckMenuItem * | cmi | |||
) |
Shows and hides the log window
Definition at line 204 of file log.c.
References window_prop_t::displayed, heraia_get_widget(), all_window_prop_t::log_box, xml_t::main, move_and_show_dialog_box(), record_and_hide_dialog_box(), heraia_window_t::win_prop, and heraia_window_t::xmls.
Referenced by logw_close_clicked(), and mw_cmi_affiche_logw_toggle().