GtkTreeItem

Name

GtkTreeItem -- 

Synopsis


#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);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GtkBin
                     +----GtkItem
                           +----GtkTreeItem

Signal Prototypes


"collapse"  void        user_function      (GtkTreeItem *treeitem,
                                            gpointer user_data);
"expand"    void        user_function      (GtkTreeItem *treeitem,
                                            gpointer user_data);

Description

Details

struct GtkTreeItem

struct GtkTreeItem;


GTK_TREE_ITEM_SUBTREE()

#define GTK_TREE_ITEM_SUBTREE(obj)      (GTK_TREE_ITEM(obj)->subtree)

obj : 


gtk_tree_item_new ()

GtkWidget*  gtk_tree_item_new               (void);

Returns : 


gtk_tree_item_new_with_label ()

GtkWidget*  gtk_tree_item_new_with_label    (gchar *label);

label : 
Returns : 


gtk_tree_item_set_subtree ()

void        gtk_tree_item_set_subtree       (GtkTreeItem *tree_item,
                                             GtkWidget *subtree);

tree_item : 
subtree : 


gtk_tree_item_remove_subtree ()

void        gtk_tree_item_remove_subtree    (GtkTreeItem *tree_item);

tree_item : 


gtk_tree_item_select ()

void        gtk_tree_item_select            (GtkTreeItem *tree_item);

tree_item : 


gtk_tree_item_deselect ()

void        gtk_tree_item_deselect          (GtkTreeItem *tree_item);

tree_item : 


gtk_tree_item_expand ()

void        gtk_tree_item_expand            (GtkTreeItem *tree_item);

tree_item : 


gtk_tree_item_collapse ()

void        gtk_tree_item_collapse          (GtkTreeItem *tree_item);

tree_item : 

Signals

The "collapse" signal

void        user_function                  (GtkTreeItem *treeitem,
                                            gpointer user_data);

treeitem :the object which received the signal.
user_data :user data set when the signal handler was connected.


The "expand" signal

void        user_function                  (GtkTreeItem *treeitem,
                                            gpointer user_data);

treeitem :the object which received the signal.
user_data :user data set when the signal handler was connected.