Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Class GTK2.MenuBar

Inheritance graph
GTK2.G.Object GTK2.G.InitiallyUnowned GTK2.Object GTK2.Widget GTK2.Container GTK2.MenuShell 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


Method create

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

Description

Create a new menu bar.