/ gwstatusbarcallback.h / Functions / Description

Functions



gw_status_bar_put_msg_catalog

Puts messages about catalog into status bar.
gint gw_status_bar_put_msg_catalog ( GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *root, gint num, gdouble size);
This function puts messages about catalog into status bar. this function is called when the user select a catalog.

Parameters
w refence to the main window
ctree tree catalog
root catalog root tree node
num number of disks
size total size of disks

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


gw_status_bar_put_msg_disk

Puts messages about disk into status bar.
gint gw_status_bar_put_msg_disk ( GtkWindow *w, gchar *name, gchar *type, guint64 capacity, guint64 free, gdouble size, gint num);
This function puts messages about disk into status bar. This function is called when the user select a disk.
Set num to 0 when the disk is selected in the files list. In this case listed items will be one.

Parameters
w refence to the main window
name disk name
type disk type
size total size of disk
free total free space of disk
num number of sub elements disks (in only one level)

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


gw_status_bar_put_msg_dir

Puts messages about dir into status bar.
gint gw_status_bar_put_msg_dir ( GtkWindow *w, gchar *name, gdouble size, gint nb_files, gint nb_subfolders, gint num);
This function puts messages about dir into status bar. This function is called when the user select a dir.
Set num to 0 when the dir is selected in the files list. In this case listed items will be one.

Parameters
w refence to the main window
name dir name
size total size of dir
nb_files number of files
nb_subfolders number of subfolders
num number of sub elements dir (in only one level)

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


gw_status_bar_put_msg_file

Puts messages about file into status bar.
gint gw_status_bar_put_msg_file ( GtkWindow *w, gchar *name, gdouble size, gchar *date, gint num);
This function puts messages about file into status bar. This function is called when the user select a file.


Parameters
w refence to the main window
name file name
size file size
date file date
num number of selected files

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


gw_status_bar_set_catalog_explorer_page

Updates status for the explorer tabbed pane.
gint gw_status_bar_set_catalog_explorer_page ( GtkWindow *w, gint n);
This function updates status for the explorer tabbed pane. This function is called when the user goes to the explorer tabbed pane.


Parameters
w refence to the main window
n number of selected items

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


gw_status_bar_set_catalog_search_page

Updates status for the catalog search tabbed pane.
gint gw_status_bar_set_catalog_search_page ( GtkWindow *w, gint n);
This function updates status for the catalog search tabbed pane. This function is called when the user goes to the catalog search tabbed pane.


Parameters
w refence to the main window
n number of selected items

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


gw_status_bar_set_catalog_managment_page

Updates status for the catalog managment tabbed pane.
gint gw_status_bar_set_catalog_managment_page ( GtkWindow *w);
This function updates status for the catalog managment tabbed pane. This function is called when the user goes to the catalog managment tabbed pane.


Parameters
w refence to the main window

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