Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
GTK
GTK.MenuBar

Class GTK.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.

 GTK.MenuBar()->add(GTK.Menu_item("Menu")->set_submenu(GTK.Menu()->add(GTK.Menu_item("Sub")))->select()->activate())->add(GTK.Menu_item("Bar"))

Inherits

  • GTK.MenuShell