pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
GTK2
GTK2.MenuBar

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

Module reference for Pike v7.8 release 116, 2008-12-31