C# Class Hyena.Widgets.MenuButton

Inheritance: Gtk.Container
显示文件 Open project: rubenv/tripod Class Usage Examples

Public Methods

Method Description
MenuButton ( ) : System
MenuButton ( Gtk.Widget buttonWidget, Gtk.Menu menu, bool showArrow ) : System

Protected Methods

Method Description
Construct ( Gtk.Widget buttonWidget, Gtk.Menu menu, bool showArrow ) : void
ForAll ( bool include_internals, Callback callback ) : void
OnAdded ( Gtk.Widget widget ) : void
OnRemoved ( Gtk.Widget widget ) : void
OnSizeAllocated ( Gdk.Rectangle allocation ) : void
OnSizeRequested ( Requisition &requisition ) : void
ShowMenu ( ) : void

Private Methods

Method Description
OnMenuDeactivated ( object o, EventArgs args ) : void
PositionMenu ( Gtk.Menu menu, int &x, int &y, bool &push_in ) : void

Method Details

Construct() protected method

protected Construct ( Gtk.Widget buttonWidget, Gtk.Menu menu, bool showArrow ) : void
buttonWidget Gtk.Widget
menu Gtk.Menu
showArrow bool
return void

ForAll() protected method

protected ForAll ( bool include_internals, Callback callback ) : void
include_internals bool
callback Callback
return void

MenuButton() public method

public MenuButton ( ) : System
return System

MenuButton() public method

public MenuButton ( Gtk.Widget buttonWidget, Gtk.Menu menu, bool showArrow ) : System
buttonWidget Gtk.Widget
menu Gtk.Menu
showArrow bool
return System

OnAdded() protected method

protected OnAdded ( Gtk.Widget widget ) : void
widget Gtk.Widget
return void

OnRemoved() protected method

protected OnRemoved ( Gtk.Widget widget ) : void
widget Gtk.Widget
return void

OnSizeAllocated() protected method

protected OnSizeAllocated ( Gdk.Rectangle allocation ) : void
allocation Gdk.Rectangle
return void

OnSizeRequested() protected method

protected OnSizeRequested ( Requisition &requisition ) : void
requisition Requisition
return void

ShowMenu() protected method

protected ShowMenu ( ) : void
return void