Pike v8.0 release 1738

Class GTK1.TearoffMenuItem

Inheritance graph
Description

a GTK1.TearoffMenuItem is a special W(MenuItem) which is used to tear off and reattach its menu.

When its menu is shown normally, the GTK1.TearoffMenuItem is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu.

When its menu is shown as a tearoff menu, the GTK1.TearoffMenuItem is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window.  GTK1.TearoffMenuItem()->set_usize( 100,0 )


Inherit MenuItem

inherit GTK1.MenuItem : MenuItem


Method create

GTK1.TearoffMenuItem GTK1.TearoffMenuItem()

Description

Create a new tear of menu item