Godot::DisplayServer
Inherits Godot::Object < Reference < Object
Godot DisplayServer singleton (DisplayServer).
Constructors
instance
Sourcenew(pointer : Pointer(Void) = Pointer(Void).null)
SourceClass methods
singleton_ptr
SourceInstance methods
accessibility_create_element(window_id : Int64, role : Int64) : Int64
Sourceaccessibility_create_sub_element(parent_rid : Int64, role : Int64, insert_pos : Int64) : Int64
Sourceaccessibility_create_sub_text_edit_elements(parent_rid : Int64, shaped_text : Int64, min_height : Float64, insert_pos : Int64, is_last_line : Bool) : Int64
Sourceaccessibility_element_get_meta(id : Int64) : Pointer(Void)
Sourceaccessibility_element_set_meta(id : Int64, meta : Pointer(Void)) : Void
Sourceaccessibility_free_element(id : Int64) : Void
Sourceaccessibility_get_window_root(window_id : Int64) : Int64
Sourceaccessibility_has_element(id : Int64) : Bool
Sourceaccessibility_screen_reader_active
Sourceaccessibility_set_window_focused(window_id : Int64, focused : Bool) : Void
Sourceaccessibility_should_increase_contrast
Sourceaccessibility_should_reduce_animation
Sourceaccessibility_should_reduce_transparency
Sourceaccessibility_update_add_action(id : Int64, action : Int64, callable : Pointer(Void)) : Void
Sourceaccessibility_update_add_child(id : Int64, child_id : Int64) : Void
Sourceaccessibility_update_add_custom_action(id : Int64, action_id : Int64, action_description : String) : Void
Sourceaccessibility_update_set_active_descendant(id : Int64, other_id : Int64) : Void
Sourceaccessibility_update_set_checked(id : Int64, checekd : Bool) : Void
Sourceaccessibility_update_set_classname(id : Int64, classname : String) : Void
Sourceaccessibility_update_set_description(id : Int64, description : String) : Void
Sourceaccessibility_update_set_error_message(id : Int64, other_id : Int64) : Void
Sourceaccessibility_update_set_extra_info(id : Int64, name : String) : Void
Sourceaccessibility_update_set_flag(id : Int64, flag : Int64, value : Bool) : Void
Sourceaccessibility_update_set_focus(id : Int64) : Void
Sourceaccessibility_update_set_in_page_link_target(id : Int64, other_id : Int64) : Void
Sourceaccessibility_update_set_language(id : Int64, language : String) : Void
Sourceaccessibility_update_set_list_item_count(id : Int64, size : Int64) : Void
Sourceaccessibility_update_set_list_item_expanded(id : Int64, expanded : Bool) : Void
Sourceaccessibility_update_set_list_item_index(id : Int64, index : Int64) : Void
Sourceaccessibility_update_set_list_item_level(id : Int64, level : Int64) : Void
Sourceaccessibility_update_set_list_item_selected(id : Int64, selected : Bool) : Void
Sourceaccessibility_update_set_list_orientation(id : Int64, vertical : Bool) : Void
Sourceaccessibility_update_set_live(id : Int64, live : Int64) : Void
Sourceaccessibility_update_set_member_of(id : Int64, group_id : Int64) : Void
Sourceaccessibility_update_set_name(id : Int64, name : String) : Void
Sourceaccessibility_update_set_next_on_line(id : Int64, other_id : Int64) : Void
Sourceaccessibility_update_set_num_jump(id : Int64, jump : Float64) : Void
Sourceaccessibility_update_set_num_range(id : Int64, min : Float64, max : Float64) : Void
Sourceaccessibility_update_set_num_step(id : Int64, step : Float64) : Void
Sourceaccessibility_update_set_num_value(id : Int64, position : Float64) : Void
Sourceaccessibility_update_set_placeholder(id : Int64, placeholder : String) : Void
Sourceaccessibility_update_set_popup_type(id : Int64, popup : Int64) : Void
Sourceaccessibility_update_set_previous_on_line(id : Int64, other_id : Int64) : Void
Sourceaccessibility_update_set_role(id : Int64, role : Int64) : Void
Sourceaccessibility_update_set_role_description(id : Int64, description : String) : Void
Sourceaccessibility_update_set_scroll_x(id : Int64, position : Float64) : Void
Sourceaccessibility_update_set_scroll_x_range(id : Int64, min : Float64, max : Float64) : Void
Sourceaccessibility_update_set_scroll_y(id : Int64, position : Float64) : Void
Sourceaccessibility_update_set_scroll_y_range(id : Int64, min : Float64, max : Float64) : Void
Sourceaccessibility_update_set_shortcut(id : Int64, shortcut : String) : Void
Sourceaccessibility_update_set_state_description(id : Int64, description : String) : Void
Sourceaccessibility_update_set_table_cell_position(id : Int64, row_index : Int64, column_index : Int64) : Void
Sourceaccessibility_update_set_table_cell_span(id : Int64, row_span : Int64, column_span : Int64) : Void
Sourceaccessibility_update_set_table_column_count(id : Int64, count : Int64) : Void
Sourceaccessibility_update_set_table_column_index(id : Int64, index : Int64) : Void
Sourceaccessibility_update_set_table_row_count(id : Int64, count : Int64) : Void
Sourceaccessibility_update_set_table_row_index(id : Int64, index : Int64) : Void
Sourceaccessibility_update_set_text_align(id : Int64, align : Int64) : Void
Sourceaccessibility_update_set_text_decorations(id : Int64, underline : Bool, strikethrough : Bool, overline : Bool) : Void
Sourceaccessibility_update_set_text_orientation(id : Int64, vertical : Bool) : Void
Sourceaccessibility_update_set_text_selection(id : Int64, text_start_id : Int64, start_char : Int64, text_end_id : Int64, end_char : Int64) : Void
Sourceaccessibility_update_set_tooltip(id : Int64, tooltip : String) : Void
Sourceaccessibility_update_set_url(id : Int64, url : String) : Void
Sourceaccessibility_update_set_value(id : Int64, value : String) : Void
Sourcebeep
Sourceclipboard_get
Sourceclipboard_get_image
Sourceclipboard_get_primary
Sourceclipboard_has
Sourceclipboard_has_image
Sourceclipboard_set(clipboard : String) : Void
Sourceclipboard_set_primary(clipboard_primary : String) : Void
Sourcecolor_picker(callback : Pointer(Void)) : Bool
Sourcecreate_status_indicator(icon : Texture2D, tooltip : String, callback : Pointer(Void)) : Int64
Sourcecursor_get_shape
Sourcecursor_set_shape(shape : Int64) : Void
Sourcedelete_status_indicator(id : Int64) : Void
Sourcedialog_input_text(title : String, description : String, existing_text : String, callback : Pointer(Void)) : Int64
Sourcedialog_show(title : String, description : String, buttons : Pointer(Void), callback : Pointer(Void)) : Int64
Sourceenable_for_stealing_focus(process_id : Int64) : Void
Sourceforce_process_and_drop_events
Sourceget_accent_color
Sourceget_base_color
Sourceget_display_cutouts(screen : Int64) : Godot::Array
Sourceget_keyboard_focus_screen
Sourceget_name
Sourceget_primary_screen
Sourceget_screen_count
Sourceget_swap_cancel_ok
Sourceget_window_list
Sourcehas_additional_outputs
Sourcehas_feature(feature : Int64) : Bool
Sourcehas_hardware_keyboard
Sourcehelp_set_search_callbacks(search_callback : Pointer(Void), action_callback : Pointer(Void)) : Void
Sourcehide_toast_notification(id : Int64) : Void
Sourceime_get_selection
Sourceime_get_text
Sourceis_dark_mode
Sourceis_dark_mode_supported
Sourceis_in_pip_mode(window_id : Int64) : Bool
Sourceis_touchscreen_available
Sourceis_window_transparency_available
Sourcekeyboard_get_current_layout
Sourcekeyboard_get_keycode_from_physical(keycode : Int64) : Int64
Sourcekeyboard_get_label_from_physical(keycode : Int64) : Int64
Sourcekeyboard_get_layout_count
Sourcekeyboard_get_layout_language(index : Int64) : String
Sourcekeyboard_get_layout_name(index : Int64) : String
Sourcekeyboard_set_current_layout(index : Int64) : Void
Sourcemouse_get_button_state
Sourcemouse_get_mode
Sourcemouse_get_position
Sourcemouse_set_mode(mouse_mode : Int64) : Void
Sourcepip_mode_enter(window_id : Int64) : Void
Sourcepip_mode_set_aspect_ratio(numerator : Int64, denominator : Int64, window_id : Int64) : Void
Sourcepip_mode_set_auto_enter_on_background(auto_enter_on_background : Bool, window_id : Int64) : Void
Sourceprocess_events
Sourcescreen_get_dpi(screen : Int64) : Int64
Sourcescreen_get_image(screen : Int64) : Image
Sourcescreen_get_max_scale
Sourcescreen_get_orientation(screen : Int64) : Int64
Sourcescreen_get_refresh_rate(screen : Int64) : Float64
Sourcescreen_get_scale(screen : Int64) : Float64
Sourcescreen_is_kept_on
Sourcescreen_set_keep_on(enable : Bool) : Void
Sourcescreen_set_orientation(orientation : Int64, screen : Int64) : Void
Sourcesend_toast_notification(title : String, text : String, image : Texture2D, callback : Pointer(Void)) : Int64
Sourceset_hardware_keyboard_connection_change_callback(callable : Pointer(Void)) : Void
Sourceset_icon(image : Image) : Void
Sourceset_native_icon(filename : String) : Void
Sourceset_system_theme_change_callback(callable : Pointer(Void)) : Void
Sourceshow_emoji_and_symbol_picker
Sourcestatus_indicator_set_callback(id : Int64, callback : Pointer(Void)) : Void
Sourcestatus_indicator_set_icon(id : Int64, icon : Texture2D) : Void
Sourcestatus_indicator_set_tooltip(id : Int64, tooltip : String) : Void
Sourcetablet_get_current_driver
Sourcetablet_get_driver_count
Sourcetablet_get_driver_name(idx : Int64) : String
Sourcetablet_set_current_driver(name : String) : Void
Sourcetts_get_voices
Sourcetts_get_voices_for_language(language : String) : Pointer(Void)
Sourcetts_is_paused
Sourcetts_is_speaking
Sourcetts_pause
Sourcetts_resume
Sourcetts_set_utterance_callback(event : Int64, callable : Pointer(Void)) : Void
Sourcetts_speak(text : String, voice : String, volume : Int64, pitch : Float64, rate : Float64, utterance_id : Int64, interrupt : Bool) : Void
Sourcetts_stop
Sourcevirtual_keyboard_get_height
Sourcevirtual_keyboard_hide
Sourcevirtual_keyboard_show(existing_text : String, position : Rect2, get_type : Int64, max_length : Int64, cursor_start : Int64, cursor_end : Int64) : Void
Sourcewindow_can_draw(window_id : Int64) : Bool
Sourcewindow_get_active_popup
Sourcewindow_get_attached_instance_id(window_id : Int64) : Int64
Sourcewindow_get_current_screen(window_id : Int64) : Int64
Sourcewindow_get_flag(flag : Int64, window_id : Int64) : Bool
Sourcewindow_get_hdr_output_current_max_luminance(window_id : Int64) : Float64
Sourcewindow_get_hdr_output_current_reference_luminance(window_id : Int64) : Float64
Sourcewindow_get_hdr_output_max_luminance(window_id : Int64) : Float64
Sourcewindow_get_hdr_output_reference_luminance(window_id : Int64) : Float64
Sourcewindow_get_mode(window_id : Int64) : Int64
Sourcewindow_get_native_handle(handle_type : Int64, window_id : Int64) : Int64
Sourcewindow_get_output_max_linear_value(window_id : Int64) : Float64
Sourcewindow_get_vsync_mode(window_id : Int64) : Int64
Sourcewindow_is_focused(window_id : Int64) : Bool
Sourcewindow_is_hdr_output_enabled(window_id : Int64) : Bool
Sourcewindow_is_hdr_output_requested(window_id : Int64) : Bool
Sourcewindow_is_hdr_output_supported(window_id : Int64) : Bool
Sourcewindow_is_maximize_allowed(window_id : Int64) : Bool
Sourcewindow_maximize_on_title_dbl_click
Sourcewindow_minimize_on_title_dbl_click
Sourcewindow_move_to_foreground(window_id : Int64) : Void
Sourcewindow_request_attention(window_id : Int64) : Void
Sourcewindow_request_hdr_output(enable : Bool, window_id : Int64) : Void
Sourcewindow_set_current_screen(screen : Int64, window_id : Int64) : Void
Sourcewindow_set_drop_files_callback(callback : Pointer(Void), window_id : Int64) : Void
Sourcewindow_set_exclusive(window_id : Int64, exclusive : Bool) : Void
Sourcewindow_set_flag(flag : Int64, enabled : Bool, window_id : Int64) : Void
Sourcewindow_set_hdr_output_max_luminance(max_luminance : Float64, window_id : Int64) : Void
Sourcewindow_set_hdr_output_reference_luminance(reference_luminance : Float64, window_id : Int64) : Void
Sourcewindow_set_icon(icon : Image, window_id : Int64) : Void
Sourcewindow_set_ime_active(active : Bool, window_id : Int64) : Void
Sourcewindow_set_input_event_callback(callback : Pointer(Void), window_id : Int64) : Void
Sourcewindow_set_input_text_callback(callback : Pointer(Void), window_id : Int64) : Void
Sourcewindow_set_mode(mode : Int64, window_id : Int64) : Void
Sourcewindow_set_mouse_passthrough(region : Pointer(Void), window_id : Int64) : Void
Sourcewindow_set_rect_changed_callback(callback : Pointer(Void), window_id : Int64) : Void
Sourcewindow_set_taskbar_progress_state(state : Int64, window_id : Int64) : Void
Sourcewindow_set_taskbar_progress_value(value : Float64, window_id : Int64) : Void
Sourcewindow_set_title(title : String, window_id : Int64) : Void
Sourcewindow_set_transient(window_id : Int64, parent_window_id : Int64) : Void
Sourcewindow_set_vsync_mode(vsync_mode : Int64, window_id : Int64) : Void
Sourcewindow_set_window_event_callback(callback : Pointer(Void), window_id : Int64) : Void
Sourcewindow_start_drag(window_id : Int64) : Void
Sourcewindow_start_resize(edge : Int64, window_id : Int64) : Void
SourceNested types
- Godot::DisplayServer::AccessibilityAction
- Godot::DisplayServer::AccessibilityFlags
- Godot::DisplayServer::AccessibilityLiveMode
- Godot::DisplayServer::AccessibilityPopupType
- Godot::DisplayServer::AccessibilityRole
- Godot::DisplayServer::AccessibilityScrollHint
- Godot::DisplayServer::AccessibilityScrollUnit
- Godot::DisplayServer::CursorShape
- Godot::DisplayServer::Feature
- Godot::DisplayServer::FileDialogMode
- Godot::DisplayServer::HandleType
- Godot::DisplayServer::MouseMode
- Godot::DisplayServer::NotificationStatus
- Godot::DisplayServer::ProgressState
- Godot::DisplayServer::ScreenOrientation
- Godot::DisplayServer::SensorOrientation
- Godot::DisplayServer::TTSUtteranceEvent
- Godot::DisplayServer::VSyncMode
- Godot::DisplayServer::VirtualKeyboardType
- Godot::DisplayServer::WindowEvent
- Godot::DisplayServer::WindowFlags
- Godot::DisplayServer::WindowMode
- Godot::DisplayServer::WindowResizeEdge