gw_notebook_catalog_set_column_sort
Sets the sort algorithm.
gint gw_notebook_catalog_set_column_sort ( GtkCList *clist, gint column);
This function sets the sort algorithm.
Parameters
clist | catalog file list clist |
column | column to sort |
Result: Returns 0 when it's done. Returns -1 when an error occured..
gw_notebook_catalog_column_sort
Sorts the column as ascending or descending.
gboolean gw_notebook_catalog_column_sort ( GtkCList *clist, gint column, gpointer data);
This function sorts the column as ascending or descending.
Parameters
clist | catalog file list clist |
column | column to sort |
data | unused at time |
Result: Returns TRUE is the event submited correctly. Returns FALSE when an error occured..
gw_notebook_catalog_clist_button_press_event
Loads the list of files.
gboolean gw_notebook_catalog_clist_button_press_event ( GtkWidget *w, GdkEventButton *event);
This function loads the list of files whitch are in the selected folder or disk (or loads the list of disk if is a catalog that was selected). This function call when the user click on a item in the list of file (or disk).
Parameters
w | the source widget event |
event | the event |
Result: Returns TRUE when it's done. Returns FALSE when an error occured..
gw_notebook_catalog_clist_column_resized
Saves the column width.
gint gw_notebook_catalog_clist_column_resized ( GtkCList *clist, gint column, gint width, gpointer data);
This function saves the column width. This function call when the user click on a item in the list of file (or disk).
Parameters
clist | the column list source invoker |
column | the column number |
width | the new column width |
data | unused data |
Result: Returns 0 when it's done. Returns -1 when an error occured..
gw_notebook_catalog_ctree_button_press_event
Loads the list of files.
gboolean gw_notebook_catalog_ctree_button_press_event ( GtkWidget *w, GdkEventButton *event);
This function loads the list of files whitch are in the selected folder or disk (or loads the list of disk if is a catalog that was selected). This function call when the user click on a item in the tree.
Parameters
w | the source widget event |
event | the event |
Result: Returns TRUE when it's done. Returns FALSE when an error occured..
gw_notebook_catalog_ctree_select_row
Loads the list of files.
gboolean gw_notebook_catalog_ctree_select_row ( GtkCTree *ctree, GtkCTreeNode *noeud, gint colonne, gpointer g);
This function loads the list of files whitch are in the selected folder or disk (or loads the list of disk if is a catalog that was selected). This function call when the user select on a item in the tree.
Parameters
ctree | the tree |
noeud | the node selected |
colonne | the column |
p | a void pointer (in order to send datas structure). |
Result: Returns TRUE when it's done. Returns FALSE when an error occured..
gw_notebook_catalog_ctree_node_get_folder_size
Gets the size of folder
gulong gw_notebook_catalog_ctree_node_get_folder_size ( GtkCTree *ctree, GtkCTreeNode *node);
This functions gets the size of the selected folder.
Parameters
ctree | the tree where is the folder |
node | the node |
Result: the size of folder. Returns 0 when an error occured. .
|