GTK+ 1.2 Tutorial
Prev | Appendix D. List Widget | Next

# Functions

    guint gtk_list_item_get_type( void );

Returns the "GtkListItem" type identifier.

    GtkWidget *gtk_list_item_new( void );

Create a new ListItem object. The new widget is returned as a pointer to a GtkWidget object. NULL is returned on failure.

    GtkWidget *gtk_list_item_new_with_label( gchar *label );

Create a new ListItem object, having a single GtkLabel as the sole child. The new widget is returned as a pointer to a GtkWidget object. NULL is returned on failure.

    void gtk_list_item_select( GtkListItem *list_item );

This function is basically a wrapper around a call to gtk_item_select (GTK_ITEM (list_item)) which will emit the select signal. *Note GtkItem::, for more info.

    void gtk_list_item_deselect( GtkListItem *list_item );

This function is basically a wrapper around a call to gtk_item_deselect (GTK_ITEM (list_item)) which will emit the deselect signal. *Note GtkItem::, for more info.

    GtkListItem *GTK_LIST_ITEM( gpointer obj );

Cast a generic pointer to "GtkListItem *".

    GtkListItemClass *GTK_LIST_ITEM_CLASS( gpointer class );

Cast a generic pointer to GtkListItemClass*. *Note Standard Macros::, for more info.

    gint GTK_IS_LIST_ITEM( gpointer obj );

Determine if a generic pointer refers to a `GtkListItem' object. *Note Standard Macros::, for more info.

Prev | Home | Next
Signals | Up | Example