GTK+ Reference Manual | ||||
---|---|---|---|---|
#include <gtk/gtk.h> GtkTreeItem; #define GTK_TREE_ITEM_SUBTREE (obj) GtkWidget* gtk_tree_item_new (void); GtkWidget* gtk_tree_item_new_with_label (const gchar *label); void gtk_tree_item_set_subtree (GtkTreeItem *tree_item, GtkWidget *subtree); void gtk_tree_item_remove_subtree (GtkTreeItem *tree_item); void gtk_tree_item_select (GtkTreeItem *tree_item); void gtk_tree_item_deselect (GtkTreeItem *tree_item); void gtk_tree_item_expand (GtkTreeItem *tree_item); void gtk_tree_item_collapse (GtkTreeItem *tree_item);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkTreeItem
GtkTree is deprecated and unsupported. It is known to be
buggy. To use it, you must define the symbol GTK_ENABLE_BROKEN
prior to including the GTK+ header files. Use GtkTreeView instead.
typedef struct _GtkTreeItem GtkTreeItem;
GtkTreeItem
is deprecated and should not be used in newly-written code.
#define GTK_TREE_ITEM_SUBTREE(obj) (GTK_TREE_ITEM(obj)->subtree)
GTK_TREE_ITEM_SUBTREE
is deprecated and should not be used in newly-written code.
obj : |
GtkWidget* gtk_tree_item_new (void);
gtk_tree_item_new
is deprecated and should not be used in newly-written code.
Returns : |
GtkWidget* gtk_tree_item_new_with_label (const gchar *label);
gtk_tree_item_new_with_label
is deprecated and should not be used in newly-written code.
label : |
|
Returns : |
void gtk_tree_item_set_subtree (GtkTreeItem *tree_item, GtkWidget *subtree);
gtk_tree_item_set_subtree
is deprecated and should not be used in newly-written code.
tree_item : |
|
subtree : |
void gtk_tree_item_remove_subtree (GtkTreeItem *tree_item);
gtk_tree_item_remove_subtree
is deprecated and should not be used in newly-written code.
tree_item : |
void gtk_tree_item_select (GtkTreeItem *tree_item);
gtk_tree_item_select
is deprecated and should not be used in newly-written code.
tree_item : |
void gtk_tree_item_deselect (GtkTreeItem *tree_item);
gtk_tree_item_deselect
is deprecated and should not be used in newly-written code.
tree_item : |
void gtk_tree_item_expand (GtkTreeItem *tree_item);
gtk_tree_item_expand
is deprecated and should not be used in newly-written code.
tree_item : |
void gtk_tree_item_collapse (GtkTreeItem *tree_item);
gtk_tree_item_collapse
is deprecated and should not be used in newly-written code.
tree_item : |
"collapse"
signalvoid user_function (GtkTreeItem *treeitem, gpointer user_data) : Run First
treeitem : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
"expand"
signalvoid user_function (GtkTreeItem *treeitem, gpointer user_data) : Run First
treeitem : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |