Generated wrapper for Godot's DisplayServer, extends Object.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
DisplayServer.accessibility_screen_reader_active
DisplayServer.accessibility_screen_reader_active
Attributes
DisplayServer.accessibility_set_window_focused
DisplayServer.accessibility_set_window_focused
Attributes
DisplayServer.accessibility_set_window_rect
DisplayServer.accessibility_set_window_rect
Attributes
DisplayServer.accessibility_should_increase_contrast
DisplayServer.accessibility_should_increase_contrast
Attributes
DisplayServer.accessibility_should_reduce_animation
DisplayServer.accessibility_should_reduce_animation
Attributes
DisplayServer.accessibility_should_reduce_transparency
DisplayServer.accessibility_should_reduce_transparency
Attributes
DisplayServer.beep
DisplayServer.beep
Attributes
DisplayServer.clipboard_get
DisplayServer.clipboard_get
Attributes
DisplayServer.clipboard_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.
DisplayServer.clipboard_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
DisplayServer.clipboard_get_primary
DisplayServer.clipboard_get_primary
Attributes
DisplayServer.clipboard_has
DisplayServer.clipboard_has
Attributes
DisplayServer.clipboard_has_image
DisplayServer.clipboard_has_image
Attributes
DisplayServer.clipboard_set
DisplayServer.clipboard_set
Attributes
DisplayServer.clipboard_set_primary
DisplayServer.clipboard_set_primary
Attributes
DisplayServer.cursor_get_shape
DisplayServer.cursor_get_shape
Attributes
DisplayServer.cursor_set_custom_image
DisplayServer.cursor_set_custom_image
Attributes
DisplayServer.cursor_set_shape
DisplayServer.cursor_set_shape
Attributes
DisplayServer.delete_status_indicator
DisplayServer.delete_status_indicator
Attributes
DisplayServer.enable_for_stealing_focus
DisplayServer.enable_for_stealing_focus
Attributes
DisplayServer.force_process_and_drop_events
DisplayServer.force_process_and_drop_events
Attributes
DisplayServer.get_accent_color
DisplayServer.get_accent_color
Attributes
DisplayServer.get_base_color
DisplayServer.get_base_color
Attributes
DisplayServer.get_display_safe_area
DisplayServer.get_display_safe_area
Attributes
DisplayServer.get_keyboard_focus_screen
DisplayServer.get_keyboard_focus_screen
Attributes
DisplayServer.get_name
DisplayServer.get_name
Attributes
DisplayServer.get_primary_screen
DisplayServer.get_primary_screen
Attributes
DisplayServer.get_screen_count
DisplayServer.get_screen_count
Attributes
DisplayServer.get_screen_from_rect
DisplayServer.get_screen_from_rect
Attributes
DisplayServer.get_swap_cancel_ok
DisplayServer.get_swap_cancel_ok
Attributes
DisplayServer.get_window_at_screen_position
DisplayServer.get_window_at_screen_position
Attributes
DisplayServer.global_menu_add_separator
DisplayServer.global_menu_add_separator
Attributes
DisplayServer.global_menu_add_submenu_item
DisplayServer.global_menu_add_submenu_item
Attributes
DisplayServer.global_menu_clear
DisplayServer.global_menu_clear
Attributes
DisplayServer.global_menu_get_item_accelerator
DisplayServer.global_menu_get_item_accelerator
Attributes
DisplayServer.global_menu_get_item_count
DisplayServer.global_menu_get_item_count
Attributes
DisplayServer.global_menu_get_item_icon. Returns an owned reference: release it with unref() or inside Gd.scoped.
DisplayServer.global_menu_get_item_icon. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
DisplayServer.global_menu_get_item_indentation_level
DisplayServer.global_menu_get_item_indentation_level
Attributes
DisplayServer.global_menu_get_item_index_from_text
DisplayServer.global_menu_get_item_index_from_text
Attributes
DisplayServer.global_menu_get_item_max_states
DisplayServer.global_menu_get_item_max_states
Attributes
DisplayServer.global_menu_get_item_state
DisplayServer.global_menu_get_item_state
Attributes
DisplayServer.global_menu_get_item_submenu
DisplayServer.global_menu_get_item_submenu
Attributes
DisplayServer.global_menu_get_item_text
DisplayServer.global_menu_get_item_text
Attributes
DisplayServer.global_menu_get_item_tooltip
DisplayServer.global_menu_get_item_tooltip
Attributes
DisplayServer.global_menu_is_item_checkable
DisplayServer.global_menu_is_item_checkable
Attributes
DisplayServer.global_menu_is_item_checked
DisplayServer.global_menu_is_item_checked
Attributes
DisplayServer.global_menu_is_item_disabled
DisplayServer.global_menu_is_item_disabled
Attributes
DisplayServer.global_menu_is_item_hidden
DisplayServer.global_menu_is_item_hidden
Attributes
DisplayServer.global_menu_is_item_radio_checkable
DisplayServer.global_menu_is_item_radio_checkable
Attributes
DisplayServer.global_menu_remove_item
DisplayServer.global_menu_remove_item
Attributes
DisplayServer.global_menu_set_item_accelerator
DisplayServer.global_menu_set_item_accelerator
Attributes
DisplayServer.global_menu_set_item_checkable
DisplayServer.global_menu_set_item_checkable
Attributes
DisplayServer.global_menu_set_item_checked
DisplayServer.global_menu_set_item_checked
Attributes
DisplayServer.global_menu_set_item_disabled
DisplayServer.global_menu_set_item_disabled
Attributes
DisplayServer.global_menu_set_item_hidden
DisplayServer.global_menu_set_item_hidden
Attributes
DisplayServer.global_menu_set_item_icon
DisplayServer.global_menu_set_item_icon
Attributes
DisplayServer.global_menu_set_item_indentation_level
DisplayServer.global_menu_set_item_indentation_level
Attributes
DisplayServer.global_menu_set_item_max_states
DisplayServer.global_menu_set_item_max_states
Attributes
DisplayServer.global_menu_set_item_radio_checkable
DisplayServer.global_menu_set_item_radio_checkable
Attributes
DisplayServer.global_menu_set_item_state
DisplayServer.global_menu_set_item_state
Attributes
DisplayServer.global_menu_set_item_submenu
DisplayServer.global_menu_set_item_submenu
Attributes
DisplayServer.global_menu_set_item_text
DisplayServer.global_menu_set_item_text
Attributes
DisplayServer.global_menu_set_item_tooltip
DisplayServer.global_menu_set_item_tooltip
Attributes
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
Attributes
- Definition Classes
DisplayServer.has_additional_outputs
DisplayServer.has_additional_outputs
Attributes
DisplayServer.has_feature
DisplayServer.has_feature
Attributes
DisplayServer.has_hardware_keyboard
DisplayServer.has_hardware_keyboard
Attributes
DisplayServer.ime_get_selection
DisplayServer.ime_get_selection
Attributes
DisplayServer.ime_get_text
DisplayServer.ime_get_text
Attributes
DisplayServer.is_dark_mode
DisplayServer.is_dark_mode
Attributes
DisplayServer.is_dark_mode_supported
DisplayServer.is_dark_mode_supported
Attributes
DisplayServer.is_touchscreen_available
DisplayServer.is_touchscreen_available
Attributes
DisplayServer.is_window_transparency_available
DisplayServer.is_window_transparency_available
Attributes
DisplayServer.keyboard_get_current_layout
DisplayServer.keyboard_get_current_layout
Attributes
DisplayServer.keyboard_get_keycode_from_physical
DisplayServer.keyboard_get_keycode_from_physical
Attributes
DisplayServer.keyboard_get_label_from_physical
DisplayServer.keyboard_get_label_from_physical
Attributes
DisplayServer.keyboard_get_layout_count
DisplayServer.keyboard_get_layout_count
Attributes
DisplayServer.keyboard_get_layout_language
DisplayServer.keyboard_get_layout_language
Attributes
DisplayServer.keyboard_get_layout_name
DisplayServer.keyboard_get_layout_name
Attributes
DisplayServer.keyboard_set_current_layout
DisplayServer.keyboard_set_current_layout
Attributes
DisplayServer.mouse_get_button_state
DisplayServer.mouse_get_button_state
Attributes
DisplayServer.mouse_get_mode
DisplayServer.mouse_get_mode
Attributes
DisplayServer.mouse_get_position
DisplayServer.mouse_get_position
Attributes
DisplayServer.mouse_set_mode
DisplayServer.mouse_set_mode
Attributes
DisplayServer.process_events
DisplayServer.process_events
Attributes
DisplayServer.register_additional_output
DisplayServer.register_additional_output
Attributes
DisplayServer.screen_get_dpi
DisplayServer.screen_get_dpi
Attributes
DisplayServer.screen_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.
DisplayServer.screen_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
DisplayServer.screen_get_image_rect. Returns an owned reference: release it with unref() or inside Gd.scoped.
DisplayServer.screen_get_image_rect. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
DisplayServer.screen_get_max_scale
DisplayServer.screen_get_max_scale
Attributes
DisplayServer.screen_get_orientation
DisplayServer.screen_get_orientation
Attributes
DisplayServer.screen_get_pixel
DisplayServer.screen_get_pixel
Attributes
DisplayServer.screen_get_position
DisplayServer.screen_get_position
Attributes
DisplayServer.screen_get_refresh_rate
DisplayServer.screen_get_refresh_rate
Attributes
DisplayServer.screen_get_scale
DisplayServer.screen_get_scale
Attributes
DisplayServer.screen_get_size
DisplayServer.screen_get_size
Attributes
DisplayServer.screen_get_usable_rect
DisplayServer.screen_get_usable_rect
Attributes
DisplayServer.screen_is_kept_on
DisplayServer.screen_is_kept_on
Attributes
DisplayServer.screen_set_keep_on
DisplayServer.screen_set_keep_on
Attributes
DisplayServer.screen_set_orientation
DisplayServer.screen_set_orientation
Attributes
DisplayServer.set_native_icon
DisplayServer.set_native_icon
Attributes
DisplayServer.show_emoji_and_symbol_picker
DisplayServer.show_emoji_and_symbol_picker
Attributes
DisplayServer.status_indicator_get_rect
DisplayServer.status_indicator_get_rect
Attributes
DisplayServer.status_indicator_set_icon
DisplayServer.status_indicator_set_icon
Attributes
DisplayServer.status_indicator_set_tooltip
DisplayServer.status_indicator_set_tooltip
Attributes
DisplayServer.tablet_get_current_driver
DisplayServer.tablet_get_current_driver
Attributes
DisplayServer.tablet_get_driver_count
DisplayServer.tablet_get_driver_count
Attributes
DisplayServer.tablet_get_driver_name
DisplayServer.tablet_get_driver_name
Attributes
DisplayServer.tablet_set_current_driver
DisplayServer.tablet_set_current_driver
Attributes
DisplayServer.tts_is_paused
DisplayServer.tts_is_paused
Attributes
DisplayServer.tts_is_speaking
DisplayServer.tts_is_speaking
Attributes
DisplayServer.tts_pause
DisplayServer.tts_pause
Attributes
DisplayServer.tts_resume
DisplayServer.tts_resume
Attributes
DisplayServer.tts_stop
DisplayServer.tts_stop
Attributes
DisplayServer.unregister_additional_output
DisplayServer.unregister_additional_output
Attributes
DisplayServer.virtual_keyboard_get_height
DisplayServer.virtual_keyboard_get_height
Attributes
DisplayServer.virtual_keyboard_hide
DisplayServer.virtual_keyboard_hide
Attributes
DisplayServer.virtual_keyboard_show
DisplayServer.virtual_keyboard_show
Attributes
DisplayServer.warp_mouse
DisplayServer.warp_mouse
Attributes
DisplayServer.window_can_draw
DisplayServer.window_can_draw
Attributes
DisplayServer.window_get_active_popup
DisplayServer.window_get_active_popup
Attributes
DisplayServer.window_get_attached_instance_id
DisplayServer.window_get_attached_instance_id
Attributes
DisplayServer.window_get_current_screen
DisplayServer.window_get_current_screen
Attributes
DisplayServer.window_get_flag
DisplayServer.window_get_flag
Attributes
DisplayServer.window_get_max_size
DisplayServer.window_get_max_size
Attributes
DisplayServer.window_get_min_size
DisplayServer.window_get_min_size
Attributes
DisplayServer.window_get_mode
DisplayServer.window_get_mode
Attributes
DisplayServer.window_get_native_handle
DisplayServer.window_get_native_handle
Attributes
DisplayServer.window_get_popup_safe_rect
DisplayServer.window_get_popup_safe_rect
Attributes
DisplayServer.window_get_position
DisplayServer.window_get_position
Attributes
DisplayServer.window_get_position_with_decorations
DisplayServer.window_get_position_with_decorations
Attributes
DisplayServer.window_get_safe_title_margins
DisplayServer.window_get_safe_title_margins
Attributes
DisplayServer.window_get_size
DisplayServer.window_get_size
Attributes
DisplayServer.window_get_size_with_decorations
DisplayServer.window_get_size_with_decorations
Attributes
DisplayServer.window_get_title_size
DisplayServer.window_get_title_size
Attributes
DisplayServer.window_get_vsync_mode
DisplayServer.window_get_vsync_mode
Attributes
DisplayServer.window_is_focused
DisplayServer.window_is_focused
Attributes
DisplayServer.window_is_maximize_allowed
DisplayServer.window_is_maximize_allowed
Attributes
DisplayServer.window_maximize_on_title_dbl_click
DisplayServer.window_maximize_on_title_dbl_click
Attributes
DisplayServer.window_minimize_on_title_dbl_click
DisplayServer.window_minimize_on_title_dbl_click
Attributes
DisplayServer.window_move_to_foreground
DisplayServer.window_move_to_foreground
Attributes
DisplayServer.window_request_attention
DisplayServer.window_request_attention
Attributes
DisplayServer.window_set_color
DisplayServer.window_set_color
Attributes
DisplayServer.window_set_current_screen
DisplayServer.window_set_current_screen
Attributes
DisplayServer.window_set_exclusive
DisplayServer.window_set_exclusive
Attributes
DisplayServer.window_set_flag
DisplayServer.window_set_flag
Attributes
DisplayServer.window_set_ime_active
DisplayServer.window_set_ime_active
Attributes
DisplayServer.window_set_ime_position
DisplayServer.window_set_ime_position
Attributes
DisplayServer.window_set_max_size
DisplayServer.window_set_max_size
Attributes
DisplayServer.window_set_min_size
DisplayServer.window_set_min_size
Attributes
DisplayServer.window_set_mode
DisplayServer.window_set_mode
Attributes
DisplayServer.window_set_popup_safe_rect
DisplayServer.window_set_popup_safe_rect
Attributes
DisplayServer.window_set_position
DisplayServer.window_set_position
Attributes
DisplayServer.window_set_size
DisplayServer.window_set_size
Attributes
DisplayServer.window_set_title
DisplayServer.window_set_title
Attributes
DisplayServer.window_set_transient
DisplayServer.window_set_transient
Attributes
DisplayServer.window_set_vsync_mode
DisplayServer.window_set_vsync_mode
Attributes
DisplayServer.window_set_window_buttons_offset
DisplayServer.window_set_window_buttons_offset
Attributes
DisplayServer.window_start_drag
DisplayServer.window_start_drag
Attributes
DisplayServer.window_start_resize
DisplayServer.window_start_resize
Attributes
Inherited methods
EditorInspectorPlugin: can this plugin handle obj's inspector?
EditorInspectorPlugin: can this plugin handle obj's inspector?
Attributes
- Inherited from:
- GodotScriptClass
EditorPlugin/Node: entered the (editor) tree.
EditorPlugin/Node: leaving the (editor) tree.
Called for every unhandled-or-not input event (Node._input).
Called for every unhandled-or-not input event (Node._input).
Attributes
- Inherited from:
- GodotScriptClass
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
Attributes
- Inherited from:
- GodotScriptClass
Called every physics frame; delta is the fixed physics step.
Called every physics frame; delta is the fixed physics step.
Attributes
- Inherited from:
- GodotScriptClass
Called every rendered frame; delta is seconds since the last frame.
Called every rendered frame; delta is seconds since the last frame.
Attributes
- Inherited from:
- GodotScriptClass
Called when the node enters the scene tree and is ready.
Called when the node enters the scene tree and is ready.
Attributes
- Inherited from:
- GodotScriptClass
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for input not consumed by the UI (Node._unhandled_input).
Called for input not consumed by the UI (Node._unhandled_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for unhandled key input (Node._unhandled_key_input).
Called for unhandled key input (Node._unhandled_key_input).
Attributes
- Inherited from:
- GodotScriptClass
EditorProperty: refresh the widget from the edited property's value.
EditorProperty: refresh the widget from the edited property's value.
Attributes
- Inherited from:
- GodotScriptClass
Object.can_translate_messages
Object.cancel_free
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Attributes
- Inherited from:
- GodotScriptClass
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Attributes
- Inherited from:
- GodotScriptClass
Object.get_instance_id
Object.get_method_argument_count
Object.get_translation_domain
Object.has_connections
Object.has_meta
Object.has_method
Object.has_signal
Object.has_user_signal
The engine-side object handle for this instance.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
Attributes
- Inherited from:
- GodotScriptClass
Object.is_blocking_signals
Object.is_class
Object.is_queued_for_deletion
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
Attributes
- Inherited from:
- GodotScriptClass
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Attributes
- Inherited from:
- GodotScriptClass
Object.notification
Object.notify_property_list_changed
Object.property_can_revert
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Attributes
- Inherited from:
- GodotScriptClass
Object.remove_meta
Object.remove_user_signal
Object.set_block_signals
Object.set_message_translation
Object.set_translation_domain
Object.tr
Object.tr_n
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Attributes
- Inherited from:
- GodotScriptClass
Set the handle and return this (fluent, for wrapping fetched objects).
Set the handle and return this (fluent, for wrapping fetched objects).
Attributes
- Inherited from:
- GodotScriptClass