Next: , Previous: GtkContainer, Up: Top


130 GtkItem

Abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem

130.1 Overview

The <gtk-item> widget is an abstract base class for <gtk-menu-item>, <gtk-list-item> and <gtk-tree-item>.

130.2 Usage

— Class: <gtk-item>

Derives from <gtk-bin>.

This class defines no direct slots.

— Signal on <gtk-item>: select

Emitted when the item is selected.

— Signal on <gtk-item>: deselect

Emitted when the item is deselected.

— Signal on <gtk-item>: toggle

Emitted when the item is toggled.

— Function: gtk-item-select (self <gtk-item>)
— Method: select

Emits the "select" signal on the given item.

item
a <gtk-item>.
— Function: gtk-item-deselect (self <gtk-item>)
— Method: deselect

Emits the "deselect" signal on the given item.

item
a <gtk-item>.
— Function: gtk-item-toggle (self <gtk-item>)
— Method: toggle

Emits the "toggle" signal on the given item.

item
a <gtk-item>.