gtk.MenuBar

gtk.MenuBar — a widget that displays gtk.MenuItem widgets horizontally

Synopsis

class gtk.MenuBar(gtk.MenuShell):
    gtk.MenuBar()

Ancestry

+-- gobject.GObject
  +-- gtk.Object
    +-- gtk.Widget
      +-- gtk.Container
        +-- gtk.MenuShell
          +-- gtk.MenuBar

Style Properties

"shadow-type"ReadThe style of bevel around the menubar
"internal-padding"ReadAmount of border space between the menubar shadow and the menu items

Description

The gtk.MenuBar is a subclass of gtk.MenuShell which contains one or more gtk.MenuItem widgets. A gtk.MenuBar displays the menu items horizontally in an application window or dialog.

Constructor

    gtk.MenuBar()
Returns :a new gtk.MenuBar widget

Creates a new gtk.MenuBar widget.