![]() | ![]() | ![]() | GTK+ Reference Manual | ![]() |
---|
GtkItem — abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem.
#include <gtk/gtk.h> struct GtkItem; void gtk_item_select (GtkItem *item); void gtk_item_deselect (GtkItem *item); void gtk_item_toggle (GtkItem *item);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem
GtkItem implements AtkImplementorIface.
"deselect" void user_function (GtkItem *item, gpointer user_data); "select" void user_function (GtkItem *item, gpointer user_data); "toggle" void user_function (GtkItem *item, gpointer user_data);
The GtkItem widget is an abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem.
struct GtkItem;
The GtkItem struct contains private data only, and should be accessed using the functions below.
void gtk_item_select (GtkItem *item);
Emits the "select" signal on the given item.
item : | a GtkItem. |
void gtk_item_deselect (GtkItem *item);
Emits the "deselect" signal on the given item.
item : | a GtkItem. |
void user_function (GtkItem *item, gpointer user_data);
Emitted when the item is deselected.
item : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
void user_function (GtkItem *item, gpointer user_data);
Emitted when the item is selected.
item : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
<< GtkContainer | GtkMisc >> |