GtkAccelGroup

GtkAccelGroup

A structure containing accelerator key data.

Object Hierarchy

Direct subclasses

None.

Description

GtkAccelGroup is a struct class that is able to hold the accelerator key data for all the menus in a GtkWindow. It is usually attached to that window to avoid any confusion within an application. The information is held as a hash table of GtkAccelEntry entries, one of which needs to be created for each accelerator. In PHP-GTK there is no direct access to these entries.

An accelerator key is the keyboard shortcut for a GtkMenuItem.

See also: add_accel_group() , add_accelerator() , GtkAccelLabel, GtkMenuItem.

Constructor

-- Provides the structure for a hash table of accelerator key information.

Methods

lock()
  Locks accelerator group information.
unlock()
  Unlocks accelerator group information.

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