class

Godot::Theme

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

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

Instance methods

add_type(theme_type : String) : Void
Source
clear
Source
clear_color(name : String, theme_type : String) : Void
Source
clear_constant(name : String, theme_type : String) : Void
Source
clear_font(name : String, theme_type : String) : Void
Source
clear_font_size(name : String, theme_type : String) : Void
Source
clear_icon(name : String, theme_type : String) : Void
Source
clear_stylebox(name : String, theme_type : String) : Void
Source
clear_theme_item(data_type : Int64, name : String, theme_type : String) : Void
Source
clear_type_variation(theme_type : String) : Void
Source
default_base_scale

Property default_base_scale getter

Source
default_base_scale=(val : Number)

Property default_base_scale setter

Source
default_font

Property default_font getter

Source
default_font=(val)

Property default_font setter

Source
default_font_size

Property default_font_size getter

Source
default_font_size=(val : Int)

Property default_font_size setter

Source
get_color(name : String, theme_type : String) : Color
Source
get_color_list(theme_type : String) : Pointer(Void)
Source
get_color_type_list
Source
get_constant(name : String, theme_type : String) : Int64
Source
get_constant_list(theme_type : String) : Pointer(Void)
Source
get_constant_type_list
Source
get_default_base_scale
Source
get_default_font
Source
get_default_font_size
Source
get_font(name : String, theme_type : String) : Font
Source
get_font_list(theme_type : String) : Pointer(Void)
Source
get_font_size(name : String, theme_type : String) : Int64
Source
get_font_size_list(theme_type : String) : Pointer(Void)
Source
get_font_size_type_list
Source
get_font_type_list
Source
get_icon(name : String, theme_type : String) : Texture2D
Source
get_icon_list(theme_type : String) : Pointer(Void)
Source
get_icon_type_list
Source
get_stylebox(name : String, theme_type : String) : StyleBox
Source
get_stylebox_list(theme_type : String) : Pointer(Void)
Source
get_stylebox_type_list
Source
get_theme_item(data_type : Int64, name : String, theme_type : String) : Pointer(Void)
Source
get_theme_item_list(data_type : Int64, theme_type : String) : Pointer(Void)
Source
get_theme_item_type_list(data_type : Int64) : Pointer(Void)
Source
get_type_list
Source
get_type_variation_base(theme_type : String) : String
Source
get_type_variation_list(base_type : String) : Pointer(Void)
Source
has_color(name : String, theme_type : String) : Bool
Source
has_constant(name : String, theme_type : String) : Bool
Source
has_default_base_scale
Source
has_default_font
Source
has_default_font_size
Source
has_font(name : String, theme_type : String) : Bool
Source
has_font_size(name : String, theme_type : String) : Bool
Source
has_icon(name : String, theme_type : String) : Bool
Source
has_stylebox(name : String, theme_type : String) : Bool
Source
has_theme_item(data_type : Int64, name : String, theme_type : String) : Bool
Source
is_type_variation(theme_type : String, base_type : String) : Bool
Source
merge_with(other : Theme) : Void
Source
remove_type(theme_type : String) : Void
Source
rename_color(old_name : String, name : String, theme_type : String) : Void
Source
rename_constant(old_name : String, name : String, theme_type : String) : Void
Source
rename_font(old_name : String, name : String, theme_type : String) : Void
Source
rename_font_size(old_name : String, name : String, theme_type : String) : Void
Source
rename_icon(old_name : String, name : String, theme_type : String) : Void
Source
rename_stylebox(old_name : String, name : String, theme_type : String) : Void
Source
rename_theme_item(data_type : Int64, old_name : String, name : String, theme_type : String) : Void
Source
rename_type(old_theme_type : String, theme_type : String) : Void
Source
set_color(name : String, theme_type : String, color : Color) : Void
Source
set_constant(name : String, theme_type : String, constant : Int64) : Void
Source
set_default_base_scale(base_scale : Float64) : Void
Source
set_default_font(font : Font) : Void
Source
set_default_font_size(font_size : Int64) : Void
Source
set_font(name : String, theme_type : String, font : Font) : Void
Source
set_font_size(name : String, theme_type : String, font_size : Int64) : Void
Source
set_icon(name : String, theme_type : String, texture : Texture2D) : Void
Source
set_stylebox(name : String, theme_type : String, texture : StyleBox) : Void
Source
set_theme_item(data_type : Int64, name : String, theme_type : String, value : Pointer(Void)) : Void
Source
set_type_variation(theme_type : String, base_type : String) : Void
Source

Nested types