GTK+ Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gtk/gtk.h> struct GtkTreeItem; #define GTK_TREE_ITEM_SUBTREE (obj) GtkWidget* gtk_tree_item_new (void); GtkWidget* gtk_tree_item_new_with_label (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); |
GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkTreeItem |
"collapse" void user_function (GtkTreeItem *treeitem, gpointer user_data); "expand" void user_function (GtkTreeItem *treeitem, gpointer user_data); |
void gtk_tree_item_set_subtree (GtkTreeItem *tree_item, GtkWidget *subtree); |