Window
Inherits: Viewport < Node < Object
Inherited By: AcceptDialog, Popup
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
Theme Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Signals
about_to_popup ( )
There is currently no description for this signal. Please help us by contributing one!
close_requested ( )
There is currently no description for this signal. Please help us by contributing one!
dpi_changed ( )
There is currently no description for this signal. Please help us by contributing one!
files_dropped ( PackedStringArray files )
There is currently no description for this signal. Please help us by contributing one!
focus_entered ( )
There is currently no description for this signal. Please help us by contributing one!
focus_exited ( )
There is currently no description for this signal. Please help us by contributing one!
go_back_requested ( )
There is currently no description for this signal. Please help us by contributing one!
mouse_entered ( )
There is currently no description for this signal. Please help us by contributing one!
mouse_exited ( )
There is currently no description for this signal. Please help us by contributing one!
theme_changed ( )
There is currently no description for this signal. Please help us by contributing one!
titlebar_changed ( )
There is currently no description for this signal. Please help us by contributing one!
visibility_changed ( )
There is currently no description for this signal. Please help us by contributing one!
window_input ( InputEvent event )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum Mode:
Mode MODE_WINDOWED = 0
There is currently no description for this enum. Please help us by contributing one!
Mode MODE_MINIMIZED = 1
There is currently no description for this enum. Please help us by contributing one!
Mode MODE_MAXIMIZED = 2
There is currently no description for this enum. Please help us by contributing one!
Mode MODE_FULLSCREEN = 3
There is currently no description for this enum. Please help us by contributing one!
Mode MODE_EXCLUSIVE_FULLSCREEN = 4
There is currently no description for this enum. Please help us by contributing one!
enum Flags:
Flags FLAG_RESIZE_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_BORDERLESS = 1
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_ALWAYS_ON_TOP = 2
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_TRANSPARENT = 3
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_NO_FOCUS = 4
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_POPUP = 5
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_EXTEND_TO_TITLE = 6
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_MOUSE_PASSTHROUGH = 7
There is currently no description for this enum. Please help us by contributing one!
Flags FLAG_MAX = 8
There is currently no description for this enum. Please help us by contributing one!
enum ContentScaleMode:
ContentScaleMode CONTENT_SCALE_MODE_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
ContentScaleMode CONTENT_SCALE_MODE_CANVAS_ITEMS = 1
There is currently no description for this enum. Please help us by contributing one!
ContentScaleMode CONTENT_SCALE_MODE_VIEWPORT = 2
There is currently no description for this enum. Please help us by contributing one!
enum ContentScaleAspect:
ContentScaleAspect CONTENT_SCALE_ASPECT_IGNORE = 0
There is currently no description for this enum. Please help us by contributing one!
ContentScaleAspect CONTENT_SCALE_ASPECT_KEEP = 1
There is currently no description for this enum. Please help us by contributing one!
ContentScaleAspect CONTENT_SCALE_ASPECT_KEEP_WIDTH = 2
There is currently no description for this enum. Please help us by contributing one!
ContentScaleAspect CONTENT_SCALE_ASPECT_KEEP_HEIGHT = 3
There is currently no description for this enum. Please help us by contributing one!
ContentScaleAspect CONTENT_SCALE_ASPECT_EXPAND = 4
There is currently no description for this enum. Please help us by contributing one!
enum ContentScaleStretch:
ContentScaleStretch CONTENT_SCALE_STRETCH_FRACTIONAL = 0
There is currently no description for this enum. Please help us by contributing one!
ContentScaleStretch CONTENT_SCALE_STRETCH_INTEGER = 1
There is currently no description for this enum. Please help us by contributing one!
enum LayoutDirection:
LayoutDirection LAYOUT_DIRECTION_INHERITED = 0
There is currently no description for this enum. Please help us by contributing one!
LayoutDirection LAYOUT_DIRECTION_LOCALE = 1
There is currently no description for this enum. Please help us by contributing one!
LayoutDirection LAYOUT_DIRECTION_LTR = 2
There is currently no description for this enum. Please help us by contributing one!
LayoutDirection LAYOUT_DIRECTION_RTL = 3
There is currently no description for this enum. Please help us by contributing one!
enum WindowInitialPosition:
WindowInitialPosition WINDOW_INITIAL_POSITION_ABSOLUTE = 0
There is currently no description for this enum. Please help us by contributing one!
WindowInitialPosition WINDOW_INITIAL_POSITION_CENTER_PRIMARY_SCREEN = 1
There is currently no description for this enum. Please help us by contributing one!
WindowInitialPosition WINDOW_INITIAL_POSITION_CENTER_MAIN_WINDOW_SCREEN = 2
There is currently no description for this enum. Please help us by contributing one!
WindowInitialPosition WINDOW_INITIAL_POSITION_CENTER_OTHER_SCREEN = 3
There is currently no description for this enum. Please help us by contributing one!
WindowInitialPosition WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_MOUSE_FOCUS = 4
There is currently no description for this enum. Please help us by contributing one!
WindowInitialPosition WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_KEYBOARD_FOCUS = 5
There is currently no description for this enum. Please help us by contributing one!
Constants
NOTIFICATION_VISIBILITY_CHANGED = 30
There is currently no description for this constant. Please help us by contributing one!
NOTIFICATION_THEME_CHANGED = 32
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
bool always_on_top = false
There is currently no description for this property. Please help us by contributing one!
bool auto_translate = true
There is currently no description for this property. Please help us by contributing one!
bool borderless = false
There is currently no description for this property. Please help us by contributing one!
ContentScaleAspect content_scale_aspect = 0
void set_content_scale_aspect ( ContentScaleAspect value )
ContentScaleAspect get_content_scale_aspect ( )
There is currently no description for this property. Please help us by contributing one!
float content_scale_factor = 1.0
There is currently no description for this property. Please help us by contributing one!
ContentScaleMode content_scale_mode = 0
void set_content_scale_mode ( ContentScaleMode value )
ContentScaleMode get_content_scale_mode ( )
There is currently no description for this property. Please help us by contributing one!
Vector2i content_scale_size = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
ContentScaleStretch content_scale_stretch = 0
void set_content_scale_stretch ( ContentScaleStretch value )
ContentScaleStretch get_content_scale_stretch ( )
There is currently no description for this property. Please help us by contributing one!
int current_screen
There is currently no description for this property. Please help us by contributing one!
bool exclusive = false
There is currently no description for this property. Please help us by contributing one!
bool extend_to_title = false
There is currently no description for this property. Please help us by contributing one!
bool force_native = false
There is currently no description for this property. Please help us by contributing one!
WindowInitialPosition initial_position = 0
void set_initial_position ( WindowInitialPosition value )
WindowInitialPosition get_initial_position ( )
There is currently no description for this property. Please help us by contributing one!
bool keep_title_visible = false
There is currently no description for this property. Please help us by contributing one!
Vector2i max_size = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
Vector2i min_size = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
Mode mode = 0
There is currently no description for this property. Please help us by contributing one!
bool mouse_passthrough = false
There is currently no description for this property. Please help us by contributing one!
PackedVector2Array mouse_passthrough_polygon = PackedVector2Array()
void set_mouse_passthrough_polygon ( PackedVector2Array value )
PackedVector2Array get_mouse_passthrough_polygon ( )
There is currently no description for this property. Please help us by contributing one!
bool popup_window = false
There is currently no description for this property. Please help us by contributing one!
Vector2i position = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
Vector2i size = Vector2i(100, 100)
There is currently no description for this property. Please help us by contributing one!
Theme theme
There is currently no description for this property. Please help us by contributing one!
StringName theme_type_variation = &""
void set_theme_type_variation ( StringName value )
StringName get_theme_type_variation ( )
There is currently no description for this property. Please help us by contributing one!
String title = ""
There is currently no description for this property. Please help us by contributing one!
bool transient = false
There is currently no description for this property. Please help us by contributing one!
bool transient_to_focused = false
There is currently no description for this property. Please help us by contributing one!
bool transparent = false
There is currently no description for this property. Please help us by contributing one!
bool unfocusable = false
There is currently no description for this property. Please help us by contributing one!
bool unresizable = false
There is currently no description for this property. Please help us by contributing one!
bool visible = true
There is currently no description for this property. Please help us by contributing one!
bool wrap_controls = false
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
Vector2 _get_contents_minimum_size ( ) virtual const
There is currently no description for this method. Please help us by contributing one!
void add_theme_color_override ( StringName name, Color color )
There is currently no description for this method. Please help us by contributing one!
void add_theme_constant_override ( StringName name, int constant )
There is currently no description for this method. Please help us by contributing one!
void add_theme_font_override ( StringName name, Font font )
There is currently no description for this method. Please help us by contributing one!
void add_theme_font_size_override ( StringName name, int font_size )
There is currently no description for this method. Please help us by contributing one!
void add_theme_icon_override ( StringName name, Texture2D texture )
There is currently no description for this method. Please help us by contributing one!
void add_theme_stylebox_override ( StringName name, StyleBox stylebox )
There is currently no description for this method. Please help us by contributing one!
void begin_bulk_theme_override ( )
There is currently no description for this method. Please help us by contributing one!
bool can_draw ( ) const
There is currently no description for this method. Please help us by contributing one!
void child_controls_changed ( )
There is currently no description for this method. Please help us by contributing one!
void end_bulk_theme_override ( )
There is currently no description for this method. Please help us by contributing one!
Vector2 get_contents_minimum_size ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_flag ( Flags flag ) const
There is currently no description for this method. Please help us by contributing one!
LayoutDirection get_layout_direction ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_position_with_decorations ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_size_with_decorations ( ) const
There is currently no description for this method. Please help us by contributing one!
Color get_theme_color ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
int get_theme_constant ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
float get_theme_default_base_scale ( ) const
There is currently no description for this method. Please help us by contributing one!
Font get_theme_default_font ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_theme_default_font_size ( ) const
There is currently no description for this method. Please help us by contributing one!
Font get_theme_font ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
int get_theme_font_size ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
Texture2D get_theme_icon ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
StyleBox get_theme_stylebox ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
int get_window_id ( ) const
There is currently no description for this method. Please help us by contributing one!
void grab_focus ( )
There is currently no description for this method. Please help us by contributing one!
bool has_focus ( ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_color ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_color_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_constant ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_constant_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_font ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_font_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_font_size ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_font_size_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_icon ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_icon_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_stylebox ( StringName name, StringName theme_type=&”” ) const
There is currently no description for this method. Please help us by contributing one!
bool has_theme_stylebox_override ( StringName name ) const
There is currently no description for this method. Please help us by contributing one!
void hide ( )
There is currently no description for this method. Please help us by contributing one!
bool is_embedded ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_layout_rtl ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_maximize_allowed ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_using_font_oversampling ( ) const
There is currently no description for this method. Please help us by contributing one!
void move_to_center ( )
There is currently no description for this method. Please help us by contributing one!
void move_to_foreground ( )
There is currently no description for this method. Please help us by contributing one!
void popup ( Rect2i rect=Rect2i(0, 0, 0, 0) )
There is currently no description for this method. Please help us by contributing one!
void popup_centered ( Vector2i minsize=Vector2i(0, 0) )
There is currently no description for this method. Please help us by contributing one!
void popup_centered_clamped ( Vector2i minsize=Vector2i(0, 0), float fallback_ratio=0.75 )
There is currently no description for this method. Please help us by contributing one!
void popup_centered_ratio ( float ratio=0.8 )
There is currently no description for this method. Please help us by contributing one!
void popup_exclusive ( Node from_node, Rect2i rect=Rect2i(0, 0, 0, 0) )
There is currently no description for this method. Please help us by contributing one!
void popup_exclusive_centered ( Node from_node, Vector2i minsize=Vector2i(0, 0) )
There is currently no description for this method. Please help us by contributing one!
void popup_exclusive_centered_clamped ( Node from_node, Vector2i minsize=Vector2i(0, 0), float fallback_ratio=0.75 )
There is currently no description for this method. Please help us by contributing one!
void popup_exclusive_centered_ratio ( Node from_node, float ratio=0.8 )
There is currently no description for this method. Please help us by contributing one!
void popup_exclusive_on_parent ( Node from_node, Rect2i parent_rect )
There is currently no description for this method. Please help us by contributing one!
void popup_on_parent ( Rect2i parent_rect )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_color_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_constant_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_font_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_font_size_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_icon_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void remove_theme_stylebox_override ( StringName name )
There is currently no description for this method. Please help us by contributing one!
void request_attention ( )
There is currently no description for this method. Please help us by contributing one!
void reset_size ( )
There is currently no description for this method. Please help us by contributing one!
void set_flag ( Flags flag, bool enabled )
There is currently no description for this method. Please help us by contributing one!
void set_ime_active ( bool active )
There is currently no description for this method. Please help us by contributing one!
void set_ime_position ( Vector2i position )
There is currently no description for this method. Please help us by contributing one!
void set_layout_direction ( LayoutDirection direction )
There is currently no description for this method. Please help us by contributing one!
void set_unparent_when_invisible ( bool unparent )
There is currently no description for this method. Please help us by contributing one!
void set_use_font_oversampling ( bool enable )
There is currently no description for this method. Please help us by contributing one!
void show ( )
There is currently no description for this method. Please help us by contributing one!
Theme Property Descriptions
Color title_color = Color(0.875, 0.875, 0.875, 1)
There is currently no description for this theme property. Please help us by contributing one!
Color title_outline_modulate = Color(0, 0, 0, 1)
There is currently no description for this theme property. Please help us by contributing one!
int close_h_offset = 18
There is currently no description for this theme property. Please help us by contributing one!
int close_v_offset = 24
There is currently no description for this theme property. Please help us by contributing one!
int resize_margin = 4
There is currently no description for this theme property. Please help us by contributing one!
int title_height = 36
There is currently no description for this theme property. Please help us by contributing one!
int title_outline_size = 0
There is currently no description for this theme property. Please help us by contributing one!
Font title_font
There is currently no description for this theme property. Please help us by contributing one!
int title_font_size
There is currently no description for this theme property. Please help us by contributing one!
Texture2D close
There is currently no description for this theme property. Please help us by contributing one!
Texture2D close_pressed
There is currently no description for this theme property. Please help us by contributing one!
StyleBox embedded_border
There is currently no description for this theme property. Please help us by contributing one!
StyleBox embedded_unfocused_border
There is currently no description for this theme property. Please help us by contributing one!