Godot::Control
Inherits Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object
Base class for all GUI and user interface controls.
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
accept_event
Sourceaccessibility_drag
Sourceaccessibility_drop
Sourceadd_theme_constant_override(name : String, constant : Int64) : Void
Sourceadd_theme_font_override(name : String, font : Font) : Void
Sourceadd_theme_font_size_override(name : String, font_size : Int64) : Void
Sourceadd_theme_icon_override(name : String, texture : Texture2D) : Void
Sourceadd_theme_stylebox_override(name : String, stylebox : StyleBox) : Void
Sourceauto_translate?
Sourcebegin_bulk_theme_override
Sourceclip_contents?
Sourceend_bulk_theme_override
Sourcefind_next_valid_focus
Sourcefind_prev_valid_focus
Sourcefind_valid_focus_neighbor(side : Int64) : Control
Sourceforce_drag(data : Pointer(Void), preview : Control) : Void
Sourceget_accessibility_controls_nodes
Sourceget_accessibility_described_by_nodes
Sourceget_accessibility_description
Sourceget_accessibility_flow_to_nodes
Sourceget_accessibility_labeled_by_nodes
Sourceget_accessibility_live
Sourceget_accessibility_name
Sourceget_anchor(side : Int64) : Float64
Sourceget_begin
Sourceget_bound_minimum_size
Sourceget_combined_maximum_size
Sourceget_combined_minimum_size
Sourceget_combined_pivot_offset
Sourceget_custom_maximum_size
Sourceget_custom_minimum_size
Sourceget_default_cursor_shape
Sourceget_end
Sourceget_focus_behavior_recursive
Sourceget_focus_mode
Sourceget_focus_mode_with_override
Sourceget_focus_neighbor(side : Int64) : NodePath
Sourceget_focus_next
Sourceget_focus_previous
Sourceget_global_position
Sourceget_global_rect
Sourceget_h_grow_direction
Sourceget_h_size_flags
Sourceget_layout_direction
Sourceget_maximum_size
Sourceget_minimum_size
Sourceget_mouse_behavior_recursive
Sourceget_mouse_filter
Sourceget_mouse_filter_with_override
Sourceget_offset(offset : Int64) : Float64
Sourceget_offset_transform_pivot
Sourceget_offset_transform_pivot_ratio
Sourceget_offset_transform_position
Sourceget_offset_transform_position_ratio
Sourceget_offset_transform_rotation
Sourceget_offset_transform_scale
Sourceget_parent_area_size
Sourceget_parent_control
Sourceget_pivot_offset
Sourceget_pivot_offset_ratio
Sourceget_position
Sourceget_rect
Sourceget_rotation
Sourceget_rotation_degrees
Sourceget_scale
Sourceget_screen_position
Sourceget_shortcut_context
Sourceget_size
Sourceget_stretch_ratio
Sourceget_theme
Sourceget_theme_constant(name : String, theme_type : String) : Int64
Sourceget_theme_default_base_scale
Sourceget_theme_default_font
Sourceget_theme_default_font_size
Sourceget_theme_font(name : String, theme_type : String) : Font
Sourceget_theme_font_size(name : String, theme_type : String) : Int64
Sourceget_theme_icon(name : String, theme_type : String) : Texture2D
Sourceget_theme_stylebox(name : String, theme_type : String) : StyleBox
Sourceget_theme_type_variation
Sourceget_tooltip_auto_translate_mode
Sourceget_tooltip_text
Sourceget_translation_context
Sourceget_v_grow_direction
Sourceget_v_size_flags
Sourceglobal_position
Sourcegrab_click_focus
Sourcegrab_focus(hide_focus : Bool) : Void
Sourcehas_theme_color(name : String, theme_type : String) : Bool
Sourcehas_theme_color_override(name : String) : Bool
Sourcehas_theme_constant(name : String, theme_type : String) : Bool
Sourcehas_theme_constant_override(name : String) : Bool
Sourcehas_theme_font(name : String, theme_type : String) : Bool
Sourcehas_theme_font_override(name : String) : Bool
Sourcehas_theme_font_size(name : String, theme_type : String) : Bool
Sourcehas_theme_font_size_override(name : String) : Bool
Sourcehas_theme_icon(name : String, theme_type : String) : Bool
Sourcehas_theme_icon_override(name : String) : Bool
Sourcehas_theme_stylebox(name : String, theme_type : String) : Bool
Sourcehas_theme_stylebox_override(name : String) : Bool
Sourceis_auto_translating
Sourceis_clipping_contents
Sourceis_drag_successful
Sourceis_force_pass_scroll_events
Sourceis_layout_rtl
Sourceis_localizing_numeral_system
Sourceis_offset_transform_enabled
Sourceis_offset_transform_visual_only
Sourceis_propagating_maximum_size
Sourcelocalize_numeral_system?
Sourcemouse_force_pass_scroll_events?
Sourceoffset_transform_enabled?
Sourceoffset_transform_visual_only?
Sourceposition
Sourcepropagate_maximum_size?
Sourcerelease_focus
Sourceremove_theme_color_override(name : String) : Void
Sourceremove_theme_constant_override(name : String) : Void
Sourceremove_theme_font_override(name : String) : Void
Sourceremove_theme_font_size_override(name : String) : Void
Sourceremove_theme_icon_override(name : String) : Void
Sourceremove_theme_stylebox_override(name : String) : Void
Sourcereset_size
Sourcerotation
Sourcerotation=(v : Float32)
Sourcescale
Sourceset_accessibility_controls_nodes(node_path : Godot::Array) : Void
Sourceset_accessibility_described_by_nodes(node_path : Godot::Array) : Void
Sourceset_accessibility_description(description : String) : Void
Sourceset_accessibility_flow_to_nodes(node_path : Godot::Array) : Void
Sourceset_accessibility_labeled_by_nodes(node_path : Godot::Array) : Void
Sourceset_accessibility_live(mode : Int64) : Void
Sourceset_accessibility_name(name : String) : Void
Sourceset_anchor(side : Int64, anchor : Float64, keep_offset : Bool, push_opposite_anchor : Bool) : Void
Sourceset_anchor_and_offset(side : Int64, anchor : Float64, offset : Float64, push_opposite_anchor : Bool) : Void
Sourceset_anchors_and_offsets_preset(preset : Int64, resize_mode : Int64, margin : Int64) : Void
Sourceset_anchors_preset(preset : Int64, keep_offsets : Bool) : Void
Sourceset_auto_translate(enable : Bool) : Void
Sourceset_clip_contents(enable : Bool) : Void
Sourceset_default_cursor_shape(shape : Int64) : Void
Sourceset_drag_forwarding(drag_func : Pointer(Void), can_drop_func : Pointer(Void), drop_func : Pointer(Void)) : Void
Sourceset_drag_preview(control : Control) : Void
Sourceset_focus_behavior_recursive(focus_behavior_recursive : Int64) : Void
Sourceset_focus_mode(mode : Int64) : Void
Sourceset_focus_neighbor(side : Int64, neighbor : NodePath) : Void
Sourceset_focus_next(next_val : NodePath) : Void
Sourceset_focus_previous(previous : NodePath) : Void
Sourceset_force_pass_scroll_events(force_pass_scroll_events : Bool) : Void
Sourceset_h_grow_direction(direction : Int64) : Void
Sourceset_h_size_flags(flags : Int64) : Void
Sourceset_layout_direction(direction : Int64) : Void
Sourceset_localize_numeral_system(enable : Bool) : Void
Sourceset_mouse_behavior_recursive(mouse_behavior_recursive : Int64) : Void
Sourceset_mouse_filter(filter : Int64) : Void
Sourceset_offset(side : Int64, offset : Float64) : Void
Sourceset_offset_transform_enabled(enabled : Bool) : Void
Sourceset_offset_transform_rotation(rotation : Float64) : Void
Sourceset_offset_transform_visual_only(enabled : Bool) : Void
Sourceset_offsets_preset(preset : Int64, resize_mode : Int64, margin : Int64) : Void
Sourceset_propagate_maximum_size(enable : Bool) : Void
Sourceset_rotation(radians : Float64) : Void
Sourceset_rotation_degrees(degrees : Float64) : Void
Sourceset_shortcut_context(node : Node) : Void
Sourceset_stretch_ratio(ratio : Float64) : Void
Sourceset_theme(theme : Theme) : Void
Sourceset_theme_type_variation(theme_type : String) : Void
Sourceset_tooltip_auto_translate_mode(mode : Int64) : Void
Sourceset_tooltip_text(hint : String) : Void
Sourceset_translation_context(context : String) : Void
Sourceset_v_grow_direction(direction : Int64) : Void
Sourceset_v_size_flags(flags : Int64) : Void
Sourcesize
Sourceupdate_maximum_size
Sourceupdate_minimum_size
Sourcevisible=(v : Bool)
Sourcevisible?
SourceNested types
- Godot::Control::Anchor
- Godot::Control::CursorShape
- Godot::Control::FocusBehaviorRecursive
- Godot::Control::FocusMode
- Godot::Control::GrowDirection
- Godot::Control::LayoutDirection
- Godot::Control::LayoutPreset
- Godot::Control::LayoutPresetMode
- Godot::Control::MouseBehaviorRecursive
- Godot::Control::MouseFilter
- Godot::Control::SizeFlags
- Godot::Control::TextDirection