Pike v8.1 release 6

Class GTK2.MenuBar

Inheritance graph
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


Method create

GTK2.MenuBar GTK2.MenuBar(mapping|void props)

Description

Create a new menu bar.