class

Godot::NativeMenu

Inherits Godot::Object < Reference < Object

Godot NativeMenu singleton (NativeMenu).

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_check_item(rid : Int64, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_icon_check_item(rid : Int64, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_icon_item(rid : Int64, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_icon_radio_check_item(rid : Int64, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_item(rid : Int64, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_multistate_item(rid : Int64, label : String, max_states : Int64, default_state : Int64, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_radio_check_item(rid : Int64, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void), accelerator : Int64, index : Int64) : Int64
Source
add_separator(rid : Int64, index : Int64) : Int64
Source
add_submenu_item(rid : Int64, label : String, submenu_rid : Int64, tag : Pointer(Void), index : Int64) : Int64
Source
clear(rid : Int64) : Void
Source
create_menu
Source
find_item_index_with_submenu(rid : Int64, submenu_rid : Int64) : Int64
Source
find_item_index_with_tag(rid : Int64, tag : Pointer(Void)) : Int64
Source
find_item_index_with_text(rid : Int64, text : String) : Int64
Source
free_menu(rid : Int64) : Void
Source
get_item_accelerator(rid : Int64, idx : Int64) : Int64
Source
get_item_callback(rid : Int64, idx : Int64) : Pointer(Void)
Source
get_item_count(rid : Int64) : Int64
Source
get_item_icon(rid : Int64, idx : Int64) : Texture2D
Source
get_item_indentation_level(rid : Int64, idx : Int64) : Int64
Source
get_item_key_callback(rid : Int64, idx : Int64) : Pointer(Void)
Source
get_item_max_states(rid : Int64, idx : Int64) : Int64
Source
get_item_state(rid : Int64, idx : Int64) : Int64
Source
get_item_submenu(rid : Int64, idx : Int64) : Int64
Source
get_item_tag(rid : Int64, idx : Int64) : Pointer(Void)
Source
get_item_text(rid : Int64, idx : Int64) : String
Source
get_item_tooltip(rid : Int64, idx : Int64) : String
Source
get_minimum_width(rid : Int64) : Float64
Source
get_popup_close_callback(rid : Int64) : Pointer(Void)
Source
get_popup_open_callback(rid : Int64) : Pointer(Void)
Source
get_size(rid : Int64) : Vector2
Source
get_system_menu(menu_id : Int64) : Int64
Source
get_system_menu_name(menu_id : Int64) : String
Source
get_system_menu_text(menu_id : Int64) : String
Source
has_feature(feature : Int64) : Bool
Source
has_menu(rid : Int64) : Bool
Source
has_system_menu(menu_id : Int64) : Bool
Source
is_item_checkable(rid : Int64, idx : Int64) : Bool
Source
is_item_checked(rid : Int64, idx : Int64) : Bool
Source
is_item_disabled(rid : Int64, idx : Int64) : Bool
Source
is_item_hidden(rid : Int64, idx : Int64) : Bool
Source
is_item_indeterminate(rid : Int64, idx : Int64) : Bool
Source
is_item_radio_checkable(rid : Int64, idx : Int64) : Bool
Source
is_opened(rid : Int64) : Bool
Source
is_system_menu(rid : Int64) : Bool
Source
remove_item(rid : Int64, idx : Int64) : Void
Source
set_interface_direction(rid : Int64, is_rtl : Bool) : Void
Source
set_item_accelerator(rid : Int64, idx : Int64, keycode : Int64) : Void
Source
set_item_callback(rid : Int64, idx : Int64, callback : Pointer(Void)) : Void
Source
set_item_checkable(rid : Int64, idx : Int64, checkable : Bool) : Void
Source
set_item_checked(rid : Int64, idx : Int64, checked : Bool) : Void
Source
set_item_disabled(rid : Int64, idx : Int64, disabled : Bool) : Void
Source
set_item_hidden(rid : Int64, idx : Int64, hidden : Bool) : Void
Source
set_item_hover_callbacks(rid : Int64, idx : Int64, callback : Pointer(Void)) : Void
Source
set_item_icon(rid : Int64, idx : Int64, icon : Texture2D) : Void
Source
set_item_indentation_level(rid : Int64, idx : Int64, level : Int64) : Void
Source
set_item_indeterminate(rid : Int64, idx : Int64, indeterminate : Bool) : Void
Source
set_item_index(rid : Int64, idx : Int64, target_idx : Int64) : Int64
Source
set_item_key_callback(rid : Int64, idx : Int64, key_callback : Pointer(Void)) : Void
Source
set_item_max_states(rid : Int64, idx : Int64, max_states : Int64) : Void
Source
set_item_radio_checkable(rid : Int64, idx : Int64, checkable : Bool) : Void
Source
set_item_state(rid : Int64, idx : Int64, state : Int64) : Void
Source
set_item_submenu(rid : Int64, idx : Int64, submenu_rid : Int64) : Void
Source
set_item_tag(rid : Int64, idx : Int64, tag : Pointer(Void)) : Void
Source
set_item_text(rid : Int64, idx : Int64, text : String) : Void
Source
set_item_tooltip(rid : Int64, idx : Int64, tooltip : String) : Void
Source
set_minimum_width(rid : Int64, width : Float64) : Void
Source
set_popup_close_callback(rid : Int64, callback : Pointer(Void)) : Void
Source
set_popup_open_callback(rid : Int64, callback : Pointer(Void)) : Void
Source
set_system_menu_text(menu_id : Int64, name : String) : Void
Source

Nested types