/ gwpropertiesbox.h / Functions / Description

Functions



gw_properties_box_create

Creates a properties box.
GtkWidget * gw_properties_box_create ( GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *node, gint what, GList *files);
This function creates a properties box. Don't use this generic function. It more careful to use the following functions :
  • gw_properties_box_create_catalog
  • gw_properties_box_create_disk
  • gw_properties_box_create_folder
  • gw_properties_box_create_file


Parameters
w main window
ctree catalog tree
node relative tree root node
what kind of properties box
files files list

Result: the properties box.
Returns NULL when an error occured..


gw_properties_box_create_catalog

Creates a catalog properties box.
GtkWidget * gw_properties_box_create_catalog ( GtkMenuItem *m, GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *node);
This function creates a catalog properties box.

Parameters
m invoker
w main window
ctree catalog tree
node catalog node in tree

Result: the catalog properties box.
Returns NULL when an error occured..


gw_properties_box_create_disk

Creates a disk properties box.
GtkWidget * gw_properties_box_create_disk ( GtkMenuItem *m, GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *node);
This function creates a disk properties box.

Parameters
m invoker
w main window
ctree catalog tree
node disk node in tree

Result: the disk properties box.
Returns NULL when an error occured..


gw_properties_box_create_folder

Creates a folder properties box.
GtkWidget * gw_properties_box_create_folder ( GtkMenuItem *m, GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *node);
This function creates a folder properties box.

Parameters
m invoker
w main window
ctree catalog tree
node folder node in tree

Result: the folder properties box.
Returns NULL when an error occured..


gw_properties_box_create_file

Creates a file properties box.
GtkWidget * gw_properties_box_create_file ( GtkMenuItem *m, GtkWindow *w, GtkCTree *ctree, GtkCTreeNode *node, GList *files);
This function creates a file properties box.

Parameters
m invoker
w main window
ctree catalog tree
node file node in tree
files files list

Result: the file properties box.
Returns NULL when an error occured..


gw_properties_box_create_notebook_panel_catalog_info

Creates a tabbed pane for catalog properties box.
GtkNotebook * gw_properties_box_create_notebook_panel_catalog_info ( GtkWindow *w, GtkNotebook *notebook, GtkCTree *ctree, GtkCTreeNode *node, struct catalog_file_info *catalog_file_info);
This function creates a tabbed pane for catalog properties box.

Parameters
w main window
notebook notebook
ctree catalog tree
node catalog node in tree
catalog_file_info catalog file info

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


gw_properties_box_create_notebook_panel_disk_info

Creates a tabbed pane for disk properties box.
GtkNotebook * gw_properties_box_create_notebook_panel_disk_info ( GtkWindow *w, GtkNotebook *parent, GtkCTree *ctree, GtkCTreeNode *node, struct catalog_file_info *catalog_info);
This function creates a tabbed pane for disk properties box.

Parameters
w main window
notebook notebook
ctree catalog tree
node disk node in tree
catalog_file_info catalog file info

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


gw_properties_box_create_notebook_panel_folder_info

Creates a tabbed pane for folder properties box.
GtkNotebook * gw_properties_box_create_notebook_panel_folder_info ( GtkWindow *w, GtkNotebook *notebook, GtkCTree *ctree, GtkCTreeNode *node, struct catalog_file_info *catalog_info);
This function creates a tabbed pane for catalog properties box.

Parameters
w main window
notebook notebook
ctree catalog tree
node folder node in tree
catalog_file_info catalog file info

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


gw_properties_box_create_notebook_panel_file_info

Creates a tabbed pane for file properties box.
GtkNotebook * gw_properties_box_create_notebook_panel_file_info ( GtkWindow *w, GtkNotebook *notebook, GtkCTree *ctree, GtkCTreeNode *node, struct catalog_file_info *catalog_info, GList *files);
This function creates a tabbed pane for file properties box.

Parameters
w main window
notebook notebook
ctree catalog tree
node file node in tree
catalog_file_info catalog file info
files files list

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


gw_properties_box_get_catalog_name

Gets the catalog name.
gchar * gw_properties_box_get_catalog_name ( GtkWidget *w);
This function gets the catalog name.

Parameters
w properties box

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


gw_properties_box_get_catalog_category

Gets the catalog category.
struct category * gw_properties_box_get_catalog_category ( GtkWidget *w);
This function gets the catalog category.

Parameters
w properties box

Result: the catalog category.
Returns NULL when an error occured..


gw_properties_box_get_catalog_description

Gets the catalog description.
gchar * gw_properties_box_get_catalog_description ( GtkWidget *w);
This function gets the catalog description.

Parameters
w properties box

Result: the catalog description. Must be freed with g_free().
Returns NULL when an error occured..


gw_properties_box_get_disk_name

Gets the disk name.
gchar * gw_properties_box_get_disk_name ( GtkWidget *w);
This function gets the disk name.

Parameters
w properties box

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


gw_properties_box_get_disk_num

Gets the disk archive number.
gchar * gw_properties_box_get_disk_num ( GtkWidget *w);
This function gets the disk archive number.

Parameters
w properties box

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


gw_properties_box_get_disk_category

Gets the disk category.
struct category * gw_properties_box_get_disk_category ( GtkWidget *w);
This function gets the disk category.

Parameters
w properties box

Result: the disk category.
Returns NULL when an error occured..


gw_properties_box_get_disk_description

Gets the disk description.
gchar * gw_properties_box_get_disk_description ( GtkWidget *w);
This function gets the disk description.

Parameters
w properties box

Result: the disk description. Must be freed with g_free().
Returns NULL when an error occured..


gw_properties_box_get_folder_category

Gets the folder category.
struct category * gw_properties_box_get_folder_category ( GtkWidget *w);
This function gets the folder category.

Parameters
w properties box

Result: the folder category.
Returns NULL when an error occured..


gw_properties_box_get_folder_description

Gets the folder description.
gchar * gw_properties_box_get_folder_description ( GtkWidget *w);
This function gets the folder description.

Parameters
w properties box

Result: the folder description. Must be freed with g_free().
Returns NULL when an error occured..


gw_properties_box_get_file_category

Gets the file category.
struct category * gw_properties_box_get_file_category ( GtkWidget *w);
This function gets the file category.

Parameters
w properties box

Result: the file category.
Returns NULL when an error occured..


gw_properties_box_get_file_description

Gets the file description.
gchar * gw_properties_box_get_file_description ( GtkWidget *w);
This function gets the file description.

Parameters
w properties box

Result: the file description. Must be freed with g_free().
Returns NULL when an error occured..