C# Class Xwt.GtkBackend.MenuBackend

Inheritance: IMenuBackend
显示文件 Open project: TheBrainTech/xwt Class Usage Examples

Public Methods

Method Description
DisableEvent ( object eventId ) : void
EnableEvent ( object eventId ) : void
Initialize ( IMenuEventSink eventSink ) : void
InitializeBackend ( object frontend, Xwt.Backends.ApplicationContext context ) : void
InsertItem ( int index, IMenuItemBackend menuItem ) : void
Popup ( ) : void
Popup ( IWidgetBackend widget, double x, double y ) : void
RemoveItem ( IMenuItemBackend menuItem ) : void

Private Methods

Method Description
TransferProps ( Gtk oldMenu, Gtk newMenu ) : void

Method Details

DisableEvent() public method

public DisableEvent ( object eventId ) : void
eventId object
return void

EnableEvent() public method

public EnableEvent ( object eventId ) : void
eventId object
return void

Initialize() public method

public Initialize ( IMenuEventSink eventSink ) : void
eventSink IMenuEventSink
return void

InitializeBackend() public method

public InitializeBackend ( object frontend, Xwt.Backends.ApplicationContext context ) : void
frontend object
context Xwt.Backends.ApplicationContext
return void

InsertItem() public method

public InsertItem ( int index, IMenuItemBackend menuItem ) : void
index int
menuItem IMenuItemBackend
return void

Popup() public method

public Popup ( ) : void
return void

Popup() public method

public Popup ( IWidgetBackend widget, double x, double y ) : void
widget IWidgetBackend
x double
y double
return void

RemoveItem() public method

public RemoveItem ( IMenuItemBackend menuItem ) : void
menuItem IMenuItemBackend
return void