GtkMenuBar

GtkMenuBar

Horizontal container for menu items.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkMenuShell
                     `-- GtkMenuBar

Direct subclasses

None.

Description

A GtkMenuBar is a container that exclusively holds GtkMenuItem widgets, and displays them from left to right.

It has key bindings which allow the Up, Down, Left and Right arrow keys to be used for menubar navigation. Note that these do not work in the win32 version of GTK+ used by PHP-GTK.

A menu bar with a number of subitems can be easily created with the GtkItemFactory class.

Constructor

GtkMenuBar (void);
-- Constructs a horizontal menu bar.

Methods

set_shadow_type()
  Alters appearance of menu bar.

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