/ gwmenufilecallback.h / Functions / Description

Functions



gw_menu_file_new_click

Launches from menu file : new catalog.
gboolean gw_menu_file_new_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : new catalog.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_click

Launches from menu file : open catalog.
gboolean gw_menu_file_open_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : open catalog.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_save_click

Launches from menu file : save catalog.
gboolean gw_menu_file_save_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : save catalog.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_saveas_click

Launches from menu file : save as catalog.
gboolean gw_menu_file_saveas_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : save as catalog.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_close_click

Launches from menu file : close catalog.
gboolean gw_menu_file_close_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : close catalog.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_send_mail_click

Launches from menu file : send catalog by mail.
gboolean gw_menu_file_send_mail_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : send catalog by mail.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_properties_click

Launches from menu file : catalog properties.
gboolean gw_menu_file_properties_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : catalog properties.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_exit_click

Launches from menu file : exit program.
gboolean gw_menu_file_exit_click ( GtkMenuItem *mi, GtkWindow *w);
This function launches from the menu file the functionality : exit program.

Parameters
m menu item invoker
w reference to the main window

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_file_ok

Opens the selected catalog.
gboolean gw_menu_file_open_file_ok ( GtkObject *ob, GtkFileSelection *fs);
This function is call when the user click on OK button in the file selection box. This function opens the selected catalog

Parameters
ob gtk object invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_file_cancel

Closes the file selection box.
gboolean gw_menu_file_open_file_cancel ( GtkObject *ob, GtkFileSelection *fs);
This function is call when the user click on Cancel button in the file selection box. This function closes the file selection box

Parameters
ob gtk object invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_new_file_ok

Creates a new catalog.
gboolean gw_menu_file_new_file_ok ( GtkWidget *bt, GtkWindow *w);
This function creates a new catalog

Parameters
bt button invoker
w the capture box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_new_save_file_ok

Saves the opened catalog and creates a new one.
gboolean gw_menu_file_new_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and creates a new one

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_new_save_file_no

Creates a new catalog without save the opened one.
gboolean gw_menu_file_new_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function creates a new catalog without save the opened one

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_new_saveas_file_selection_ok

Saves as file name the opened catalog and creates a new one.
gboolean gw_menu_file_new_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and creates a new one

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_save_file_ok

Saves the opened catalog and opens one.
gboolean gw_menu_file_open_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and opens one

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_save_file_no

Opens a catalog without save the opened one.
gboolean gw_menu_file_open_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function opens a catalog without save the opened one

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_saveas_file_selection_ok

Saves as file name the opened catalog and opens one.
gboolean gw_menu_file_open_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and opens one

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_recents_files_save_file_ok

Saves the opened catalog and opens one recent.
gboolean gw_menu_file_open_recents_files_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and opens one recent.

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_recents_files_save_file_no

Opens a catalog without save the opened one recent.
gboolean gw_menu_file_open_recents_files_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function opens a catalog without save the opened one recent.

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_open_recents_files_saveas_file_selection_ok

Saves as file name the opened catalog and opens one recent.
gboolean gw_menu_file_open_recents_files_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and opens one recent.

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_save_file_ok

Saves the opened catalog.
gboolean gw_menu_file_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_save_file_no

Doesn't save the opened catalog.
gboolean gw_menu_file_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function doesn't save the opened catalog

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_saveas_file_selection_ok

Saves as file name the opened catalog.
gboolean gw_menu_file_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_close_save_file_ok

Saves the opened catalog and close it.
gboolean gw_menu_file_close_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and close it

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_close_save_file_no

Closes a catalog without save it.
gboolean gw_menu_file_close_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function closes a catalog without save it

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_close_saveas_file_selection_ok

Saves as file name the opened catalog and closes it.
gboolean gw_menu_file_close_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and closes it

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_send_mail_save_file_ok

Saves the opened catalog and sends it by mail.
gboolean gw_menu_file_send_mail_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and sends it by mail

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_send_mail_save_file_no

Sends a catalog by mail without save it.
gboolean gw_menu_file_send_mail_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function sends a catalog by mail without save it

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_send_mail_saveas_file_selection_ok

Saves as file name the opened catalog and sends it by mail.
gboolean gw_menu_file_send_mail_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and sends it by mail

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_exit_save_file_ok

Saves the opened catalog and exits program.
gboolean gw_menu_file_exit_save_file_ok ( GtkWidget *bt, GtkWindow *dg);
This function saves the opened catalog and exits program

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_exit_save_file_no

Exits program without save the opened catalog.
gboolean gw_menu_file_exit_save_file_no ( GtkWidget *bt, GtkWindow *dg);
This function exits program without save the opened catalog

Parameters
bt button invoker
dg the dialog box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_exit_saveas_file_selection_ok

Saves as file name the opened catalog and exits program.
gboolean gw_menu_file_exit_saveas_file_selection_ok ( GtkWidget *bt, GtkFileSelection *fs);
This function saves as file name the opened catalog and exits program

Parameters
bt button invoker
fs the file selection box

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..


gw_menu_file_exit

Exits program.
void gw_menu_file_exit ( void);
This function exits the program


gw_menu_file_recents_files_item_click

Loads the selected recent file.
gboolean gw_menu_file_recents_files_item_click ( GtkMenuItem *m, gpointer data);
This function loads the selected recent file.

Parameters
m menu item invoker
data index, notes that it is a guint variable made with GUINT_TO_POINTER()

Result: Returns TRUE is the event submited correctly.
Returns FALSE when an error occured..