프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
AddDivider ( ) : void |
Adds a divider menu item.
|
|
AddItem ( String text ) : |
Adds a new menu item.
|
|
AddItem ( String text, String iconName, String accelerator = "" ) : |
Adds a new menu item.
|
|
Close ( ) : void |
Closes the current menu.
|
|
CloseAll ( ) : void |
Closes all submenus.
|
|
CloseMenus ( ) : void |
Closes all submenus and the current menu.
|
|
IsMenuOpen ( ) : bool |
Indicates whether any (sub)menu is open.
|
|
Menu ( |
Initializes a new instance of the Menu class.
|
|
Open ( Pos pos ) : void |
Opens the menu.
|
메소드 | 설명 | |
---|---|---|
Layout ( Skins skin ) : void |
Lays out the control's interior according to alignment, padding, dock etc.
|
|
OnAddItem ( |
Add item handler.
|
|
OnHoverItem ( |
Mouse hover handler.
|
|
Render ( Skins skin ) : void |
Renders the control using specified skin.
|
|
RenderUnder ( Skins skin ) : void |
Renders under the actual control (shadows etc).
|
public AddItem ( String text, String iconName, String accelerator = "" ) : |
||
text | String | Item text. |
iconName | String | Icon texture name. |
accelerator | String | Accelerator for this item. |
리턴 |
protected OnHoverItem ( |
||
control | Event source. | |
리턴 | void |