Theme for controls.
A theme for skinning controls. Controls can be skinned individually, but for complex applications, it's more practical to just create a global theme that defines everything. This theme can be applied to any [Control]; the Control and its children will automatically use it.
Theme resources can alternatively be loaded by writing them in a [code].theme[/code] file, see the documentation for more information.
https://docs.godotengine.org/en/latest/tutorials/gui/gui_skinning.html
Clears the [Color] at [code]name[/code] if the Theme has [code]type[/code].
Clears the constant at [code]name[/code] if the Theme has [code]type[/code].
Clears the [Font] at [code]name[/code] if the Theme has [code]type[/code].
Clears the icon at [code]name[/code] if the Theme has [code]type[/code].
Clears [StyleBox] at [code]name[/code] if the Theme has [code]type[/code].
Sets the Theme's values to a copy of the default theme values.
Returns the [Color] at [code]name[/code] if the Theme has [code]type[/code].
Returns all the [Color]s as a [PoolStringArray] filled with each [Color]'s name, for use in [method get_color], if the Theme has [code]type[/code].
Returns the constant at [code]name[/code] if the Theme has [code]type[/code].
Returns all the constants as a [PoolStringArray] filled with each constant's name, for use in [method get_constant], if the Theme has [code]type[/code].
Returns the [Font] at [code]name[/code] if the Theme has [code]type[/code].
Returns all the [Font]s as a [PoolStringArray] filled with each [Font]'s name, for use in [method get_font], if the Theme has [code]type[/code].
Returns the icon [Texture] at [code]name[/code] if the Theme has [code]type[/code].
Returns all the icons as a [PoolStringArray] filled with each [Texture]'s name, for use in [method get_icon], if the Theme has [code]type[/code].
Returns the icon [StyleBox] at [code]name[/code] if the Theme has [code]type[/code].
Returns all the [StyleBox]s as a [PoolStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if the Theme has [code]type[/code].
Returns all the [StyleBox] types as a [PoolStringArray] filled with each [StyleBox]'s type, for use in [method get_stylebox] and/or [method get_stylebox_list], if the Theme has [code]type[/code].
Returns all the types in [code]type[/code] as a [PoolStringArray] for use in any of the get_* functions, if the Theme has [code]type[/code].
Returns [code]true[/code] if [Color] with [code]name[/code] is in [code]type[/code].
Returns [code]false[/code] if the Theme does not have [code]type[/code].
Returns [code]true[/code] if constant with [code]name[/code] is in [code]type[/code].
Returns [code]false[/code] if the Theme does not have [code]type[/code].
Returns [code]true[/code] if [Font] with [code]name[/code] is in [code]type[/code].
Returns [code]false[/code] if the Theme does not have [code]type[/code].
Returns [code]true[/code] if icon [Texture] with [code]name[/code] is in [code]type[/code].
Returns [code]false[/code] if the Theme does not have [code]type[/code].
Returns [code]true[/code] if [StyleBox] with [code]name[/code] is in [code]type[/code].
Returns [code]false[/code] if the Theme does not have [code]type[/code].
Sets the Theme's [Color] to [code]color[/code] at [code]name[/code] in [code]type[/code].
Does nothing if the Theme does not have [code]type[/code].
Sets the Theme's constant to [code]constant[/code] at [code]name[/code] in [code]type[/code].
Does nothing if the Theme does not have [code]type[/code].
Sets the Theme's [Font] to [code]font[/code] at [code]name[/code] in [code]type[/code].
Does nothing if the Theme does not have [code]type[/code].
Sets the Theme's icon [Texture] to [code]texture[/code] at [code]name[/code] in [code]type[/code].
Does nothing if the Theme does not have [code]type[/code].
Sets Theme's [StyleBox] to [code]stylebox[/code] at [code]name[/code] in [code]type[/code].
Does nothing if the Theme does not have [code]type[/code].
The theme's default font.