class Godot::DisplayServer

Overview

Godot DisplayServer singleton (DisplayServer).

Defined in:

libgodot/generated/classes/classes_part2.cr
libgodot/generated/singletons.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Godot::Object

==(other : Godot::Object) : Bool
==(other : Nil) : Bool
==
, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, blocking_signals? : Bool blocking_signals?, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error
connect
, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void
disconnect
, editor_hint? : Bool editor_hint?, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void
emit_signal
, explicitly_freed? : Bool explicitly_freed?, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void) get_meta, get_meta_list : Pointer(Void) get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool has_meta, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal
signal
, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n

Constructor methods inherited from class Godot::Object

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

Class methods inherited from class Godot::Object

_godot_has_virtual_method(method_name : String) : Bool _godot_has_virtual_method, find_script_path_for_class(target_cls : String) : String find_script_path_for_class, is_instance_id_valid(id : Int | UInt64) : Bool is_instance_id_valid

Constructor Detail

def self.instance : DisplayServer #

def self.new(pointer : Pointer(Void) = Pointer(Void).null) #

Class Method Detail

def self.singleton_ptr : Pointer(Void) #

Instance Method Detail

def accessibility_create_element(window_id : Int64, role : AccessibilityRole | Int) : Int64 #

def accessibility_create_sub_element(parent_rid : Int64, role : AccessibilityRole | Int, insert_pos : Int64 = -1_i64) : Int64 #

def accessibility_create_sub_text_edit_elements(parent_rid : Int64, shaped_text : Int64, min_height : Float64, insert_pos : Int64 = -1_i64, is_last_line : Bool = false) : Int64 #

def accessibility_element_get_meta(id : Int64) : Pointer(Void) #

def accessibility_element_set_meta(id : Int64, meta : Pointer(Void)) : Void #

def accessibility_free_element(id : Int64) : Void #

def accessibility_get_window_root(window_id : Int64) : Int64 #

def accessibility_has_element(id : Int64) : Bool #

def accessibility_has_element?(id : Int64) : Bool #

Predicate alias for #accessibility_has_element


def accessibility_screen_reader_active : Int64 #

def accessibility_set_window_focused(window_id : Int64, focused : Bool) : Void #

def accessibility_set_window_rect(window_id : Int64, rect_out : Rect2, rect_in : Rect2) : Void #

def accessibility_should_increase_contrast : Int64 #

def accessibility_should_reduce_animation : Int64 #

def accessibility_should_reduce_transparency : Int64 #

def accessibility_update_add_action(id : Int64, action : AccessibilityAction | Int, callable : Pointer(Void)) : Void #

def accessibility_update_add_child(id : Int64, child_id : Int64) : Void #

def accessibility_update_add_custom_action(id : Int64, action_id : Int64, action_description : String) : Void #

def accessibility_update_add_related_controls(id : Int64, related_id : Int64) : Void #

def accessibility_update_add_related_described_by(id : Int64, related_id : Int64) : Void #

def accessibility_update_add_related_details(id : Int64, related_id : Int64) : Void #

def accessibility_update_add_related_flow_to(id : Int64, related_id : Int64) : Void #

def accessibility_update_add_related_labeled_by(id : Int64, related_id : Int64) : Void #

def accessibility_update_add_related_radio_group(id : Int64, related_id : Int64) : Void #

def accessibility_update_set_active_descendant(id : Int64, other_id : Int64) : Void #

def accessibility_update_set_background_color(id : Int64, color : Color) : Void #

def accessibility_update_set_bounds(id : Int64, rect : Rect2) : Void #

def accessibility_update_set_checked(id : Int64, checekd : Bool) : Void #

def accessibility_update_set_classname(id : Int64, classname : String) : Void #

def accessibility_update_set_color_value(id : Int64, color : Color) : Void #

def accessibility_update_set_description(id : Int64, description : String) : Void #

def accessibility_update_set_error_message(id : Int64, other_id : Int64) : Void #

def accessibility_update_set_extra_info(id : Int64, name : String) : Void #

def accessibility_update_set_flag(id : Int64, flag : AccessibilityFlags | Int, value : Bool) : Void #

def accessibility_update_set_focus(id : Int64) : Void #

def accessibility_update_set_foreground_color(id : Int64, color : Color) : Void #

def accessibility_update_set_in_page_link_target(id : Int64, other_id : Int64) : Void #

def accessibility_update_set_language(id : Int64, language : String) : Void #

def accessibility_update_set_list_item_count(id : Int64, size : Int64) : Void #

def accessibility_update_set_list_item_expanded(id : Int64, expanded : Bool) : Void #

def accessibility_update_set_list_item_index(id : Int64, index : Int64) : Void #

def accessibility_update_set_list_item_level(id : Int64, level : Int64) : Void #

def accessibility_update_set_list_item_selected(id : Int64, selected : Bool) : Void #

def accessibility_update_set_list_orientation(id : Int64, vertical : Bool) : Void #

def accessibility_update_set_live(id : Int64, live : AccessibilityLiveMode | Int) : Void #

def accessibility_update_set_member_of(id : Int64, group_id : Int64) : Void #

def accessibility_update_set_name(id : Int64, name : String) : Void #

def accessibility_update_set_next_on_line(id : Int64, other_id : Int64) : Void #

def accessibility_update_set_num_jump(id : Int64, jump : Float64) : Void #

def accessibility_update_set_num_range(id : Int64, min : Float64, max : Float64) : Void #

def accessibility_update_set_num_step(id : Int64, step : Float64) : Void #

def accessibility_update_set_num_value(id : Int64, position : Float64) : Void #

def accessibility_update_set_placeholder(id : Int64, placeholder : String) : Void #

def accessibility_update_set_popup_type(id : Int64, popup : AccessibilityPopupType | Int) : Void #

def accessibility_update_set_previous_on_line(id : Int64, other_id : Int64) : Void #

def accessibility_update_set_role(id : Int64, role : AccessibilityRole | Int) : Void #

def accessibility_update_set_role_description(id : Int64, description : String) : Void #

def accessibility_update_set_scroll_x(id : Int64, position : Float64) : Void #

def accessibility_update_set_scroll_x_range(id : Int64, min : Float64, max : Float64) : Void #

def accessibility_update_set_scroll_y(id : Int64, position : Float64) : Void #

def accessibility_update_set_scroll_y_range(id : Int64, min : Float64, max : Float64) : Void #

def accessibility_update_set_shortcut(id : Int64, shortcut : String) : Void #

def accessibility_update_set_state_description(id : Int64, description : String) : Void #

def accessibility_update_set_table_cell_position(id : Int64, row_index : Int64, column_index : Int64) : Void #

def accessibility_update_set_table_cell_span(id : Int64, row_span : Int64, column_span : Int64) : Void #

def accessibility_update_set_table_column_count(id : Int64, count : Int64) : Void #

def accessibility_update_set_table_column_index(id : Int64, index : Int64) : Void #

def accessibility_update_set_table_row_count(id : Int64, count : Int64) : Void #

def accessibility_update_set_table_row_index(id : Int64, index : Int64) : Void #

def accessibility_update_set_text_align(id : Int64, align : Godot::HorizontalAlignment | Int) : Void #

def accessibility_update_set_text_decorations(id : Int64, underline : Bool, strikethrough : Bool, overline : Bool) : Void #

def accessibility_update_set_text_orientation(id : Int64, vertical : Bool) : Void #

def accessibility_update_set_text_selection(id : Int64, text_start_id : Int64, start_char : Int64, text_end_id : Int64, end_char : Int64) : Void #

def accessibility_update_set_tooltip(id : Int64, tooltip : String) : Void #

def accessibility_update_set_transform(id : Int64, transform : Transform2D) : Void #

def accessibility_update_set_url(id : Int64, url : String) : Void #

def accessibility_update_set_value(id : Int64, value : String) : Void #

def beep : Void #

def clipboard_get : String #

def clipboard_get_image : Image #

def clipboard_get_primary : String #

def clipboard_has : Bool #

def clipboard_has? : Bool #

Predicate alias for #clipboard_has


def clipboard_has_image : Bool #

def clipboard_has_image? : Bool #

Predicate alias for #clipboard_has_image


def clipboard_set(clipboard : String) : Void #

def clipboard_set_primary(clipboard_primary : String) : Void #

def color_picker(callback : Pointer(Void)) : Bool #

def color_picker?(callback : Pointer(Void)) : Bool #

Predicate alias for #color_picker


def create_status_indicator(icon : Texture2D, tooltip : String, callback : Pointer(Void)) : Int64 #

def cursor_get_shape : CursorShape #

def cursor_set_custom_image(cursor : Resource, shape : CursorShape | Int = 0, hotspot : Vector2 = Vector2.new(0.to_f32, 0.to_f32)) : Void #

def cursor_set_shape(shape : CursorShape | Int) : Void #

def dark_mode? : Bool #

Predicate alias for #is_dark_mode


def dark_mode_supported? : Bool #

Predicate alias for #is_dark_mode_supported


def delete_status_indicator(id : Int64) : Void #

def dialog_input_text(title : String, description : String, existing_text : String, callback : Pointer(Void)) : Godot::Error #

def dialog_show(title : String, description : String, buttons : Pointer(Void), callback : Pointer(Void)) : Godot::Error #

def emit_orientation_changed(*args) : Void #

def enable_for_stealing_focus(process_id : Int64) : Void #

def file_dialog_show(title : String, current_directory : String, filename : String, show_hidden : Bool, mode : FileDialogMode | Int, filters : Pointer(Void), callback : Pointer(Void), parent_window_id : Int64 = 0_i64) : Godot::Error #

def file_dialog_with_options_show(title : String, current_directory : String, root : String, filename : String, show_hidden : Bool, mode : FileDialogMode | Int, filters : Pointer(Void), options : Pointer(Void), callback : Pointer(Void), parent_window_id : Int64 = 0_i64) : Godot::Error #

def force_process_and_drop_events : Void #

def get_accent_color : Color #

def get_base_color : Color #

def get_display_cutouts(screen : Int64 = -1_i64) : Pointer(Void) #

def get_display_safe_area(screen : Int64 = -1_i64) : Rect2i #

def get_keyboard_focus_screen : Int64 #

def get_name : String #

def get_primary_screen : Int64 #

def get_screen_count : Int64 #

def get_screen_from_rect(rect : Rect2) : Int64 #

def get_swap_cancel_ok : Bool #

def get_swap_cancel_ok? : Bool #

Predicate alias for #get_swap_cancel_ok


def get_window_at_screen_position(position : Vector2i) : Int64 #

def get_window_list : Pointer(Void) #

def global_menu_add_check_item(menu_root : String, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_icon_check_item(menu_root : String, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_icon_item(menu_root : String, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_icon_radio_check_item(menu_root : String, icon : Texture2D, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_item(menu_root : String, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_multistate_item(menu_root : String, label : String, max_states : Int64, default_state : Int64, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_radio_check_item(menu_root : String, label : String, callback : Pointer(Void), key_callback : Pointer(Void), tag : Pointer(Void) | Nil = nil, accelerator : Godot::Key | Int = 0, index : Int64 = -1_i64) : Int64 #

def global_menu_add_separator(menu_root : String, index : Int64 = -1_i64) : Int64 #

def global_menu_add_submenu_item(menu_root : String, label : String, submenu : String, index : Int64 = -1_i64) : Int64 #

def global_menu_clear(menu_root : String) : Void #

def global_menu_get_item_accelerator(menu_root : String, idx : Int64) : Godot::Key #

def global_menu_get_item_callback(menu_root : String, idx : Int64) : Pointer(Void) #

def global_menu_get_item_count(menu_root : String) : Int64 #

def global_menu_get_item_icon(menu_root : String, idx : Int64) : Texture2D #

def global_menu_get_item_indentation_level(menu_root : String, idx : Int64) : Int64 #

def global_menu_get_item_index_from_tag(menu_root : String, tag : Pointer(Void)) : Int64 #

def global_menu_get_item_index_from_text(menu_root : String, text : String) : Int64 #

def global_menu_get_item_key_callback(menu_root : String, idx : Int64) : Pointer(Void) #

def global_menu_get_item_max_states(menu_root : String, idx : Int64) : Int64 #

def global_menu_get_item_state(menu_root : String, idx : Int64) : Int64 #

def global_menu_get_item_submenu(menu_root : String, idx : Int64) : String #

def global_menu_get_item_tag(menu_root : String, idx : Int64) : Pointer(Void) #

def global_menu_get_item_text(menu_root : String, idx : Int64) : String #

def global_menu_get_item_tooltip(menu_root : String, idx : Int64) : String #

def global_menu_get_system_menu_roots : Pointer(Void) #

def global_menu_is_item_checkable(menu_root : String, idx : Int64) : Bool #

def global_menu_is_item_checkable?(menu_root : String, idx : Int64) : Bool #

Predicate alias for #global_menu_is_item_checkable


def global_menu_is_item_checked(menu_root : String, idx : Int64) : Bool #

def global_menu_is_item_checked?(menu_root : String, idx : Int64) : Bool #

Predicate alias for #global_menu_is_item_checked


def global_menu_is_item_disabled(menu_root : String, idx : Int64) : Bool #

def global_menu_is_item_disabled?(menu_root : String, idx : Int64) : Bool #

Predicate alias for #global_menu_is_item_disabled


def global_menu_is_item_hidden(menu_root : String, idx : Int64) : Bool #

def global_menu_is_item_hidden?(menu_root : String, idx : Int64) : Bool #

Predicate alias for #global_menu_is_item_hidden


def global_menu_is_item_radio_checkable(menu_root : String, idx : Int64) : Bool #

def global_menu_is_item_radio_checkable?(menu_root : String, idx : Int64) : Bool #

def global_menu_remove_item(menu_root : String, idx : Int64) : Void #

def global_menu_set_item_accelerator(menu_root : String, idx : Int64, keycode : Godot::Key | Int) : Void #

def global_menu_set_item_callback(menu_root : String, idx : Int64, callback : Pointer(Void)) : Void #

def global_menu_set_item_checkable(menu_root : String, idx : Int64, checkable : Bool) : Void #

def global_menu_set_item_checked(menu_root : String, idx : Int64, checked : Bool) : Void #

def global_menu_set_item_disabled(menu_root : String, idx : Int64, disabled : Bool) : Void #

def global_menu_set_item_hidden(menu_root : String, idx : Int64, hidden : Bool) : Void #

def global_menu_set_item_hover_callbacks(menu_root : String, idx : Int64, callback : Pointer(Void)) : Void #

def global_menu_set_item_icon(menu_root : String, idx : Int64, icon : Texture2D) : Void #

def global_menu_set_item_indentation_level(menu_root : String, idx : Int64, level : Int64) : Void #

def global_menu_set_item_key_callback(menu_root : String, idx : Int64, key_callback : Pointer(Void)) : Void #

def global_menu_set_item_max_states(menu_root : String, idx : Int64, max_states : Int64) : Void #

def global_menu_set_item_radio_checkable(menu_root : String, idx : Int64, checkable : Bool) : Void #

def global_menu_set_item_state(menu_root : String, idx : Int64, state : Int64) : Void #

def global_menu_set_item_submenu(menu_root : String, idx : Int64, submenu : String) : Void #

def global_menu_set_item_tag(menu_root : String, idx : Int64, tag : Pointer(Void)) : Void #

def global_menu_set_item_text(menu_root : String, idx : Int64, text : String) : Void #

def global_menu_set_item_tooltip(menu_root : String, idx : Int64, tooltip : String) : Void #

def global_menu_set_popup_callbacks(menu_root : String, open_callback : Pointer(Void), close_callback : Pointer(Void)) : Void #

def has_additional_outputs : Bool #

def has_additional_outputs? : Bool #

Predicate alias for #has_additional_outputs


def has_feature(feature : Feature | Int) : Bool #

def has_feature?(feature : Feature | Int) : Bool #

Predicate alias for #has_feature


def has_hardware_keyboard : Bool #

def has_hardware_keyboard? : Bool #

Predicate alias for #has_hardware_keyboard


def help_set_search_callbacks(search_callback : Pointer(Void), action_callback : Pointer(Void)) : Void #

def hide_toast_notification(id : Int64) : Void #

def ime_get_selection : Vector2i #

def ime_get_text : String #

def in_pip_mode?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #is_in_pip_mode


def is_dark_mode : Bool #

def is_dark_mode? : Bool #

Predicate alias for #is_dark_mode


def is_dark_mode_supported : Bool #

def is_dark_mode_supported? : Bool #

Predicate alias for #is_dark_mode_supported


def is_in_pip_mode(window_id : Int64 = 0_i64) : Bool #

def is_in_pip_mode?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #is_in_pip_mode


def is_touchscreen_available : Bool #

def is_touchscreen_available? : Bool #

Predicate alias for #is_touchscreen_available


def is_window_transparency_available : Bool #

def is_window_transparency_available? : Bool #

Predicate alias for #is_window_transparency_available


def keyboard_get_current_layout : Int64 #

def keyboard_get_keycode_from_physical(keycode : Godot::Key | Int) : Godot::Key #

def keyboard_get_label_from_physical(keycode : Godot::Key | Int) : Godot::Key #

def keyboard_get_layout_count : Int64 #

def keyboard_get_layout_language(index : Int64) : String #

def keyboard_get_layout_name(index : Int64) : String #

def keyboard_set_current_layout(index : Int64) : Void #

def mouse_get_button_state : Godot::MouseButtonMask #

def mouse_get_mode : MouseMode #

def mouse_get_position : Vector2i #

def mouse_set_mode(mouse_mode : MouseMode | Int) : Void #

def orientation_changed : Godot::TypedSignal(SensorOrientation) #

def pip_mode_enter(window_id : Int64 = 0_i64) : Void #

def pip_mode_set_aspect_ratio(numerator : Int64, denominator : Int64, window_id : Int64 = 0_i64) : Void #

def pip_mode_set_auto_enter_on_background(auto_enter_on_background : Bool, window_id : Int64 = 0_i64) : Void #

def process_events : Void #

def register_additional_output(object : Godot::Object) : Void #

def screen_get_dpi(screen : Int64 = -1_i64) : Int64 #

def screen_get_image(screen : Int64 = -1_i64) : Image #

def screen_get_image_rect(rect : Rect2i) : Image #

def screen_get_max_scale : Float64 #

def screen_get_orientation(screen : Int64 = -1_i64) : ScreenOrientation #

def screen_get_pixel(position : Vector2i) : Color #

def screen_get_position(screen : Int64 = -1_i64) : Vector2i #

def screen_get_refresh_rate(screen : Int64 = -1_i64) : Float64 #

def screen_get_scale(screen : Int64 = -1_i64) : Float64 #

def screen_get_size(screen : Int64 = -1_i64) : Vector2i #

def screen_get_usable_rect(screen : Int64 = -1_i64) : Rect2i #

def screen_is_kept_on : Bool #

def screen_is_kept_on? : Bool #

Predicate alias for #screen_is_kept_on


def screen_set_keep_on(enable : Bool) : Void #

def screen_set_orientation(orientation : ScreenOrientation | Int, screen : Int64 = -1_i64) : Void #

def send_toast_notification(title : String, text : String, image : Texture2D, callback : Pointer(Void)) : Int64 #

def set_hardware_keyboard_connection_change_callback(callable : Pointer(Void)) : Void #

def set_icon(image : Image) : Void #

def set_native_icon(filename : String) : Void #

def set_system_theme_change_callback(callable : Pointer(Void)) : Void #

def show_emoji_and_symbol_picker : Void #

def status_indicator_get_rect(id : Int64) : Rect2 #

def status_indicator_set_callback(id : Int64, callback : Pointer(Void)) : Void #

def status_indicator_set_icon(id : Int64, icon : Texture2D) : Void #

def status_indicator_set_menu(id : Int64, menu_rid : Int64) : Void #

def status_indicator_set_tooltip(id : Int64, tooltip : String) : Void #

def tablet_get_current_driver : String #

def tablet_get_driver_count : Int64 #

def tablet_get_driver_name(idx : Int64) : String #

def tablet_set_current_driver(name : String) : Void #

def touchscreen_available? : Bool #

Predicate alias for #is_touchscreen_available


def tts_get_voices : Pointer(Void) #

def tts_get_voices_for_language(language : String) : Pointer(Void) #

def tts_is_paused : Bool #

def tts_is_paused? : Bool #

Predicate alias for #tts_is_paused


def tts_is_speaking : Bool #

def tts_is_speaking? : Bool #

Predicate alias for #tts_is_speaking


def tts_pause : Void #

def tts_resume : Void #

def tts_set_utterance_callback(event : TTSUtteranceEvent | Int, callable : Pointer(Void)) : Void #

def tts_speak(text : String, voice : String, volume : Int64 = 50_i64, pitch : Float64 = 1.0, rate : Float64 = 1.0, utterance_id : Int64 = 0_i64, interrupt : Bool = false) : Void #

def tts_stop : Void #

def unregister_additional_output(object : Godot::Object) : Void #

def virtual_keyboard_get_height : Int64 #

def virtual_keyboard_hide : Void #

def virtual_keyboard_show(existing_text : String, position : Rect2 = Rect2.new(0.to_f32, 0.to_f32, 0.to_f32, 0.to_f32), get_type : VirtualKeyboardType | Int = 0, max_length : Int64 = -1_i64, cursor_start : Int64 = -1_i64, cursor_end : Int64 = -1_i64) : Void #

def warp_mouse(position : Vector2i) : Void #

def window_can_draw(window_id : Int64 = 0_i64) : Bool #

def window_can_draw?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_can_draw


def window_get_active_popup : Int64 #

def window_get_attached_instance_id(window_id : Int64 = 0_i64) : Int64 #

def window_get_current_screen(window_id : Int64 = 0_i64) : Int64 #

def window_get_flag(flag : WindowFlags | Int, window_id : Int64 = 0_i64) : Bool #

def window_get_flag?(flag : WindowFlags | Int, window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_get_flag


def window_get_hdr_output_current_max_luminance(window_id : Int64 = 0_i64) : Float64 #

def window_get_hdr_output_current_reference_luminance(window_id : Int64 = 0_i64) : Float64 #

def window_get_hdr_output_max_luminance(window_id : Int64 = 0_i64) : Float64 #

def window_get_hdr_output_reference_luminance(window_id : Int64 = 0_i64) : Float64 #

def window_get_max_size(window_id : Int64 = 0_i64) : Vector2i #

def window_get_min_size(window_id : Int64 = 0_i64) : Vector2i #

def window_get_mode(window_id : Int64 = 0_i64) : WindowMode #

def window_get_native_handle(handle_type : HandleType | Int, window_id : Int64 = 0_i64) : Int64 #

def window_get_output_max_linear_value(window_id : Int64 = 0_i64) : Float64 #

def window_get_popup_safe_rect(window : Int64) : Rect2i #

def window_get_position(window_id : Int64 = 0_i64) : Vector2i #

def window_get_position_with_decorations(window_id : Int64 = 0_i64) : Vector2i #

def window_get_safe_title_margins(window_id : Int64 = 0_i64) : Vector3i #

def window_get_size(window_id : Int64 = 0_i64) : Vector2i #

def window_get_size_with_decorations(window_id : Int64 = 0_i64) : Vector2i #

def window_get_title_size(title : String, window_id : Int64 = 0_i64) : Vector2i #

def window_get_vsync_mode(window_id : Int64 = 0_i64) : VSyncMode #

def window_is_focused(window_id : Int64 = 0_i64) : Bool #

def window_is_focused?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_is_focused


def window_is_hdr_output_enabled(window_id : Int64 = 0_i64) : Bool #

def window_is_hdr_output_enabled?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_is_hdr_output_enabled


def window_is_hdr_output_requested(window_id : Int64 = 0_i64) : Bool #

def window_is_hdr_output_requested?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_is_hdr_output_requested


def window_is_hdr_output_supported(window_id : Int64 = 0_i64) : Bool #

def window_is_hdr_output_supported?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_is_hdr_output_supported


def window_is_maximize_allowed(window_id : Int64 = 0_i64) : Bool #

def window_is_maximize_allowed?(window_id : Int64 = 0_i64) : Bool #

Predicate alias for #window_is_maximize_allowed


def window_maximize_on_title_dbl_click : Bool #

def window_maximize_on_title_dbl_click? : Bool #

def window_minimize_on_title_dbl_click : Bool #

def window_minimize_on_title_dbl_click? : Bool #

def window_move_to_foreground(window_id : Int64 = 0_i64) : Void #

def window_request_attention(window_id : Int64 = 0_i64) : Void #

def window_request_hdr_output(enable : Bool, window_id : Int64 = 0_i64) : Void #

def window_set_color(color : Color) : Void #

def window_set_current_screen(screen : Int64, window_id : Int64 = 0_i64) : Void #

def window_set_drop_files_callback(callback : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_set_exclusive(window_id : Int64, exclusive : Bool) : Void #

def window_set_flag(flag : WindowFlags | Int, enabled : Bool, window_id : Int64 = 0_i64) : Void #

def window_set_hdr_output_max_luminance(max_luminance : Float64, window_id : Int64 = 0_i64) : Void #

def window_set_hdr_output_reference_luminance(reference_luminance : Float64, window_id : Int64 = 0_i64) : Void #

def window_set_icon(icon : Image, window_id : Int64 = 0_i64) : Void #

def window_set_ime_active(active : Bool, window_id : Int64 = 0_i64) : Void #

def window_set_ime_position(position : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_input_event_callback(callback : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_set_input_text_callback(callback : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_set_max_size(max_size : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_min_size(min_size : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_mode(mode : WindowMode | Int, window_id : Int64 = 0_i64) : Void #

def window_set_mouse_passthrough(region : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_set_popup_safe_rect(window : Int64, rect : Rect2i) : Void #

def window_set_position(position : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_rect_changed_callback(callback : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_set_size(size : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_taskbar_progress_state(state : ProgressState | Int, window_id : Int64 = 0_i64) : Void #

def window_set_taskbar_progress_value(value : Float64, window_id : Int64 = 0_i64) : Void #

def window_set_title(title : String, window_id : Int64 = 0_i64) : Void #

def window_set_transient(window_id : Int64, parent_window_id : Int64) : Void #

def window_set_vsync_mode(vsync_mode : VSyncMode | Int, window_id : Int64 = 0_i64) : Void #

def window_set_window_buttons_offset(offset : Vector2i, window_id : Int64 = 0_i64) : Void #

def window_set_window_event_callback(callback : Pointer(Void), window_id : Int64 = 0_i64) : Void #

def window_start_drag(window_id : Int64 = 0_i64) : Void #

def window_start_resize(edge : WindowResizeEdge | Int, window_id : Int64 = 0_i64) : Void #

def window_transparency_available? : Bool #

Predicate alias for #is_window_transparency_available