mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Move global_menu_* methods to a separate NativeMenu class.
This commit is contained in:
@@ -637,8 +637,8 @@
|
||||
<member name="submenu_popup_delay" type="float" setter="set_submenu_popup_delay" getter="get_submenu_popup_delay" default="0.3">
|
||||
Sets the delay time in seconds for the submenu item to popup on mouse hovering. If the popup menu is added as a child of another (acting as a submenu), it will inherit the delay time of the parent menu item.
|
||||
</member>
|
||||
<member name="system_menu_root" type="String" setter="set_system_menu_root" getter="get_system_menu_root" default="""">
|
||||
If set to one of the values returned by [method DisplayServer.global_menu_get_system_menu_roots], this [PopupMenu] is bound to the special system menu. Only one [PopupMenu] can be bound to each special menu at a time.
|
||||
<member name="system_menu_id" type="int" setter="set_system_menu" getter="get_system_menu" enum="NativeMenu.SystemMenus" default="0">
|
||||
If set to one of the values of [enum NativeMenu.SystemMenus], this [PopupMenu] is bound to the special system menu. Only one [PopupMenu] can be bound to each special menu at a time.
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
|
||||
Reference in New Issue
Block a user