| Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
#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 +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkListItem +----GtkTreeItem
The GtkItem widget is an abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem.
GtkItem is deprecated and will be removed in GTK+ 3.
struct GtkItem;
The GtkItem struct contains private data only, and should be accessed using the functions below.
void gtk_item_select (GtkItem *item);
gtk_item_select has been deprecated since version 2.22 and should not be used in newly-written code. Use gtk_menu_item_select() instead
Emits the "select" signal on the given item.
|
a GtkItem. |
void gtk_item_deselect (GtkItem *item);
gtk_item_deselect has been deprecated since version 2.22 and should not be used in newly-written code. Use gtk_menu_item_deselect() instead
Emits the "deselect" signal on the given item.
|
a GtkItem. |
"deselect" signalvoid user_function (GtkItem *item,
gpointer user_data) : Run First
Emitted when the item is deselected.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"select" signalvoid user_function (GtkItem *item,
gpointer user_data) : Run First
Emitted when the item is selected.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |