/ gwnotebookmanagmentcallback.h / Functions / Description

Functions



gw_notebook_managment_load_device_list

Loads the device list.
gint gw_notebook_managment_load_device_list ( GtkWindow *w);
This function loads the device list into the combo box.

Parameters
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_scan_click

Scans the device.
gboolean gw_notebook_managment_scan_click ( GtkWidget *bt, GtkWindow *w);
This function scans the device. This function is called when the user click on the scan button.

Parameters
bt button invoker
w main window

Result: an error code.
Returns TRUE when it's done.
Returns FALSE when an error occured..


gw_notebook_managment_select_device

Displays informations for selected device.
gint gw_notebook_managment_select_device ( GtkWidget *cmb, GtkWindow *w);
This function displays informations for selected device. This function is called when the user selected a device in the device list.

Parameters
cmb combo device list
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_refresh_info

Refreshes informations for selected device.
gint gw_notebook_managment_refresh_info ( GtkWidget *chk, GtkWindow *w);
This function refreshes informations for selected device. This function is called when the user selected the option display information on device.

Parameters
chk check button invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_refresh_categories

Refreshes the list of categories.
gint gw_notebook_managment_refresh_categories ( GtkWindow *w);
This function refreshes the list of categories

Parameters
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_stop_scan_disk

Stops the scan of device.
gboolean gw_notebook_managment_stop_scan_disk ( GtkObject *obj, gpointer data);
This function stops the scan of device.

Parameters
obj event invoker
data an object (scan_disk_info)

Result: an error code.
Returns TRUE when it's done.
Returns FALSE when an error occured..


gw_notebook_managment_set_current_statment

Stops the scan of device.
gint gw_notebook_managment_set_current_statment ( gpointer p, gfloat current);
This function stops the scan of device.

Parameters
p progress bar box
current current statment of processing

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_capture_box_catalog_name_ok

Creates a new catalog and relaunches the disk scanning.
gint gw_capture_box_catalog_name_ok ( GtkWidget *w, gpointer data);
This function creates a new catalog and relaunches the disk scanning.

Parameters
w button invoker
data capture box

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_capture_box_disk_name_ok

Filled the disk name and relaunches the disk scanning.
gint gw_capture_box_disk_name_ok ( GtkWidget *w, gpointer data);
This function filled the disk name and relaunches the disk scanning.

Parameters
w button invoker
data capture box

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_explore_tree_structure_click

Saves the tree structure exploration option.
gint gw_notebook_managment_option_explore_tree_structure_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the tree structure exploration option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_explore_archive_click

Saves the archives exploration option.
gint gw_notebook_managment_option_explore_archive_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the archives exploration option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_category_click

Saves the recursively category setting option.
gint gw_notebook_managment_option_category_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the recursively category setting option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_description_click

Saves the auto-extract description from files option.
gint gw_notebook_managment_option_description_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the auto-extract description from files option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_use_disk_label_click

Saves the using volume name as disk name option.
gint gw_notebook_managment_option_use_disk_label_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the using volume name as disk name option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_use_pattern_click

Saves the using an advanced pattern to generate disk name option.
gint gw_notebook_managment_option_use_pattern_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves an advanced pattern to generate disk name option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_automount_click

Saves the automount option.
gint gw_notebook_managment_option_automount_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the automount option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..


gw_notebook_managment_option_eject_click

Saves the auto-eject CD-Rom option.
gint gw_notebook_managment_option_eject_click ( GtkToggleButton *chk, GtkWindow *w);
This function saves the auto-eject CD-Rom option. This function is called when the user click on option check box.

Parameters
chk check box invoker
w main window

Result: an error code.
Returns 0 when it's done.
Returns -1 when an error occured..