DIFF

class UIMenuPanelSource

UIMenuPanel Managed

All members, including inherited

Methods 20

proto native UIMenuPanel GetSubMenu()
proto native UIMenuPanel GetVisibleMenu()
proto native void SetSubMenu(UIMenuPanel submenu)
proto native void SetParentMenu(UIMenuPanel parent)
proto native bool CanClose()
proto native bool CanCloseOnEscape()
proto native void DestroySubmenu()
proto native bool IsAnyMenuVisible()
proto native bool IsVisible()
proto native bool IsClosing()
proto native bool IsCreatedHidden()FEATURE_CURSOR

Signal when the menu is created through 'UIManager.CreateScriptedMenu'

void OnVisibilityChanged(bool isVisible)

If visibility of application is changed. On console it is called when application is suspended or constrained.

isVisible
indicate if application is visible in foreground
proto native void Close()

Safe way to close window, using this function can even window safely close itself

int GetID()

Returns \ref MenuID

Referenced by UIManager.CloseMenu()