GtkItem

GtkItem

Abstract base class for GtkMenuItem, GtkListItem, and GtkTreeItem.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkItem

Direct subclasses

Description

GtkItem provides the toggle() method and "select", "deselect" and "toggle" signal prototypes for GtkMenuItem, GtkListItem, and GtkTreeItem.

Note that GtkItem is an abstract base class and cannot be constructed directly.

Methods

select()
  Emits "select" signal.
deselect()
  Emits "deselect" signal.
toggle()
  Emits "toggle" signal.

Signals

"select"
  Emitted when user selects item using mouse-click.
"deselect"
  Emitted when user deselects item using mouse-click.
"toggle"
  Emitted when user selects or deselects item using Enter key.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.