| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
GTK2
GTK2.MenuBar

# Class GTK2.MenuBar

Description

  Basically a horizontal W(Menu). The menu image cannot be grabbed automatically, but this is how you would create a menu all in one line. This is not the recommended coding style. `GTK2.MenuBar()->add(GTK2.MenuItem("Menu")->set_submenu(GTK2.Menu()->add(GTK2.MenuItem("Sub")))->select()->activate())->add(GTK2.MenuItem("Bar"))`

  Properties: int child-pack-direction int pack-direction

  Style properties: int internal-padding int shadow-type

Inherit MenuShell

  inherit GTK2.MenuShell : MenuShell