ToutDoux : Reference manual
<<< Previous PageHomeUpNext Page >>>

TdModStree

Name

TdModStree -- Simple tree module

Synopsis

strucTdModStree
voidtd_mod_stree_set_default_menu
(TdModStree *mod_stree,
GtkWidget *default_menu);
voidtd_mod_stree_create
(TdModStree *mod_stree,
GtkObject *mod);
voidtd_mod_stree_button_press
(GtkWidget *widget,
GdkEventButton *event,
TdModStree *mod_stree);
voidtd_mod_stree_load_flower
(TdModStree *mod_stree,
GtkObject *flower);
voidtd_mod_stree_show
(TdModStree *mod_stree);
GtkObject*td_mod_stree_new
(void);
voidtd_mod_stree_destroy
(TdModStree *mod_stree);
voidtd_mod_stree_item_set_label
(GtkWidget *tree_item,
gchar *data,
TdModStree *mod_stree,
gint width);
voidtd_mod_stree_hide
(TdModStree *mod_stree);
voidtd_mod_stree_update
(TdModStree *mod_stree);

Description

Details

struct TdModStree

struct TdModStree
{
gchar *name;
GtkObject *parent;
GtkWidget *label;
GtkWidget *widget;
GtkWidget *widget_data;
GtkWidget *default_menu;
};

fr: Objet module arbre simple

en: Simple tree module object

gchar *nameNom - Name
GtkObject *parentParent
GtkWidget *labelEtiquette - Label
GtkWidget *widgetWidget
GtkWidget *widget_dataWidget de données - Widget with data
GtkWidget *default_menuMenu

td_mod_stree_set_default_menu ()

voidtd_mod_stree_set_default_menu
(TdModStree *mod_stree,
GtkWidget *default_menu);

fr: Affecte le menu à l'arbre

en: Allocates the menu to tree

mod_stree : tree
default_menu : menu

td_mod_stree_create ()

voidtd_mod_stree_create
(TdModStree *mod_stree,
GtkObject *mod);

fr: Créé l'interface du composant du module

en: Creates the interface of component of module

mod_stree : tree
mod : module

td_mod_stree_button_press ()

voidtd_mod_stree_button_press
(GtkWidget *widget,
GdkEventButton *event,
TdModStree *mod_stree);

fr: Evènement 'button_press' de l'arbre

en: Event 'button_press' of tree

widget : tree widget
event : event button
mod_stree : tree

td_mod_stree_load_flower ()

voidtd_mod_stree_load_flower
(TdModStree *mod_stree,
GtkObject *flower);

fr: Affiche l'arborescence de la fleur dans le composant

en: Displays the flower's tree in the component

mod_stree : tree
flower : flower

td_mod_stree_show ()

voidtd_mod_stree_show
(TdModStree *mod_stree);

fr: Affiche l'arbre

en: Displays the tree

mod_stree : tree

td_mod_stree_new ()

GtkObject*td_mod_stree_new
(void);

fr: Créé un nouveau arbre

en: Creates a new tree

Return value: tree


td_mod_stree_destroy ()

voidtd_mod_stree_destroy
(TdModStree *mod_stree);

fr: Détruit l'arbre

en: Destroys the tree

mod_stree : tree

td_mod_stree_item_set_label ()

voidtd_mod_stree_item_set_label
(GtkWidget *tree_item,
gchar *data,
TdModStree *mod_stree,
gint width);

fr: Ecris la donnée dans la node

en: Writes the data in the node

tree_item : node of tree widget
data : text
mod_stree : tree
width : width available

td_mod_stree_hide ()

voidtd_mod_stree_hide
(TdModStree *mod_stree);

fr: Cache l'arbre

en: Hides the tree

mod_stree : tree

td_mod_stree_update ()

voidtd_mod_stree_update
(TdModStree *mod_stree);

fr: Rafraîchis l'arbre

en: Refresh the tree

mod_stree : tree

See Also

<<< Previous PageHomeUpNext Page >>>
IndexIndex