/ gwnotebookmanagment.h / Functions / Description

Functions



gw_notebook_managment_create

Creates a tabbed pane for disk managment.
GtkWidget * gw_notebook_managment_create ( GtkWindow *w);
This function creates a tabbed pane for disk managment.

Parameters
w main window

Result: the tabbed pane
Returns NULL when an error occured..


gw_notebook_managment_create_and_add

Creates a tabbed pane for disk managment and adds to the container.
GtkWidget * gw_notebook_managment_create_and_add ( GtkWindow *w, GtkNotebook *parent);
This function creates a tabbed pane for disk managment and add to the container.

Parameters
w main window
parent parent notebook container

Result: the tabbed pane
Returns NULL when an error occured..


gw_notebook_managment_set_device_dir

Sets the device folder path.
gint gw_notebook_managment_set_device_dir ( GtkWindow *w, gchar *device_dir);
This function sets the device folder path.
Warning : this function do nothing at time!!

Parameters
w main window
device_dir the device folder path

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


gw_notebook_managment_set_device_name

Sets the device name.
gint gw_notebook_managment_set_device_name ( GtkWindow *w, gchar *device_name);
This function sets the device name.

Parameters
w main window
device_name the device name

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


gw_notebook_managment_set_device_number

Sets the device number archive.
gint gw_notebook_managment_set_device_number ( GtkWindow *w, gchar *device_number);
This function sets the device number archive.

Parameters
w main window
device_number the device number archive

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


gw_notebook_managment_set_device_category

Sets the device selected category name.
gint gw_notebook_managment_set_device_category ( GtkWindow *w, gchar *device_category);
This function sets the device selected category name.

Parameters
w main window
device_category the device selected catagory name

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


gw_notebook_managment_set_option_automount

Activates or desactivates the automount option.
gint gw_notebook_managment_set_option_automount ( GtkWindow *w, gboolean b);
This function activates or desactivates the automount option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_display_info

Activates or desactivates the diplaying informations option.
gint gw_notebook_managment_set_option_display_info ( GtkWindow *w, gboolean b);
This function activates or desactivates the displaying informations option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_eject

Activates or desactivates the auto-eject CD-Rom option.
gint gw_notebook_managment_set_option_eject ( GtkWindow *w, gboolean b);
This function activates or desactivates the auto-eject CD-Rom option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_category_recursive

Activates or desactivates the recursively category setting option.
gint gw_notebook_managment_set_option_category_recursive ( GtkWindow *w, gboolean b);
This function activates or desactivates the recursively category setting option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_explore_tree_structure

Activates or desactivates the tree structure exploration option.
gint gw_notebook_managment_set_option_explore_tree_structure ( GtkWindow *w, gboolean b);
This function activates or desactivates the tree structure exploration option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_explore_archive

Activates or desactivates the archives exploration option.
gint gw_notebook_managment_set_option_explore_archive ( GtkWindow *w, gboolean b);
This function activates or desactivates the archives exploration option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_make_description

Activates or desactivates the auto-extracting informations from files option.
gint gw_notebook_managment_set_option_make_description ( GtkWindow *w, gboolean b);
This function activates or desactivates the auto-extracting informations from files option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_use_pattern

Activates or desactivates the using of an advnaced pattern to generate disk name option.
gint gw_notebook_managment_set_option_use_pattern ( GtkWindow *w, gboolean b);
This function activates or desactivates the using of an advnaced pattern to generate disk name option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_set_option_use_disk_label

Activates or desactivates the using disk label as disk name option.
gint gw_notebook_managment_set_option_use_disk_label ( GtkWindow *w, gboolean b);
This function activates or desactivates the using disk label as disk name option.

Parameters
w main window
b TRUE to activate or FALSE to desactivate

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


gw_notebook_managment_get_device_dir

Gets the selected device path.
gchar * gw_notebook_managment_get_device_dir ( GtkWindow *w);
This function gets the selected device path.

Parameters
w main window

Result: the device path. Should be freed with g_free().
Returns NULL when an error occured..


gw_notebook_managment_get_device_name

Gets the device name.
gchar * gw_notebook_managment_get_device_name ( GtkWindow *w);
This function gets the device name.

Parameters
w main window

Result: the device name. Should be freed with g_free().
Returns NULL when an error occured..


gw_notebook_managment_get_device_number

Gets the device number archive.
gchar * gw_notebook_managment_get_device_number ( GtkWindow *w);
This function gets the device number archive.

Parameters
w main window

Result: the device number archive. Should be freed with g_free().
Returns NULL when an error occured..


gw_notebook_managment_get_device_category

Gets the selected device category name.
gchar * gw_notebook_managment_get_device_category ( GtkWindow *w);
This function gets the selected device category name.

Parameters
w main window

Result: the device category name. Should be freed with g_free().
Returns NULL when an error occured..


gw_notebook_managment_get_option_display_info

Gets the displaying informations option value.
gboolean gw_notebook_managment_get_option_display_info ( GtkWindow *w);
This function gets the displaying informations option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_automount

Gets the automount option value.
gboolean gw_notebook_managment_get_option_automount ( GtkWindow *w);
This function gets the automount option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_eject

Gets the auto-eject CD-Rom option value.
gboolean gw_notebook_managment_get_option_eject ( GtkWindow *w);
This function gets the auto-eject CD-Rom option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_category_recursive

Gets the recursively category setting option value.
gboolean gw_notebook_managment_get_option_category_recursive ( GtkWindow *w);
This function gets the recursively category setting option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_explore_tree_structure

Gets the tree structure exploration option value.
gboolean gw_notebook_managment_get_option_explore_tree_structure ( GtkWindow *w);
This function gets the tree structure exploration option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_explore_archive

Gets the archives exploration option value.
gboolean gw_notebook_managment_get_option_explore_archive ( GtkWindow *w);
This function gets the archives exploration option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_make_description

Gets the auto-extract informations from files option value.
gboolean gw_notebook_managment_get_option_make_description ( GtkWindow *w);
This function gets the auto-extract informations from files option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_use_pattern

Gets the using of an advanced pattern to generate disk name option value.
gboolean gw_notebook_managment_get_option_use_pattern ( GtkWindow *w);
This function gets the using of an advanced pattern to generate disk name option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_option_use_disk_label

Gets the using disk label as disk name option value.
gboolean gw_notebook_managment_get_option_use_disk_label ( GtkWindow *w);
This function gets the using disk label as disk name option value.

Parameters
w main window

Result: Returns TRUE when the option if activated.
Returns FALSE otherwise or when an error occured..


gw_notebook_managment_get_combo_box_categories

Gets the combo box categories.
GtkHBox * gw_notebook_managment_get_combo_box_categories ( GtkWindow *w);
This function gets the combo box categories.

Parameters
w main window

Result: the combo box categories.
Returns NULL when an error occured..


gw_notebook_managment_get_combo_box_device

Gets the combo devices list.
GtkCombo * gw_notebook_managment_get_combo_box_device ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the combo devices list.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_info

Gets the label of device informations.
GtkLabel * gw_notebook_managment_get_label_device_info ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_type

Gets the label of device type.
GtkLabel * gw_notebook_managment_get_label_device_type ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_mounted

Gets the label of device mount status.
GtkLabel * gw_notebook_managment_get_label_device_mounted ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_volume

Gets the label of device volume name.
GtkLabel * gw_notebook_managment_get_label_device_volume ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_serial_number

Gets the label of device serial number.
GtkLabel * gw_notebook_managment_get_label_device_serial_number ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_capacity

Gets the label of device full capacity.
GtkLabel * gw_notebook_managment_get_label_device_capacity ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..


gw_notebook_managment_get_label_device_free_space

Gets the label of device free space.
GtkLabel * gw_notebook_managment_get_label_device_free_space ( GtkWindow *w);
This function gets the combo devices list.

Parameters
w main window

Result: the label.
Returns NULL when an error occured..