Theme

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

float

default_base_scale

0.0

Font

default_font

int

default_font_size

-1

Methods

void

add_type ( StringName theme_type )

void

clear ( )

void

clear_color ( StringName name, StringName theme_type )

void

clear_constant ( StringName name, StringName theme_type )

void

clear_font ( StringName name, StringName theme_type )

void

clear_font_size ( StringName name, StringName theme_type )

void

clear_icon ( StringName name, StringName theme_type )

void

clear_stylebox ( StringName name, StringName theme_type )

void

clear_theme_item ( DataType data_type, StringName name, StringName theme_type )

void

clear_type_variation ( StringName theme_type )

Color

get_color ( StringName name, StringName theme_type ) const

PackedStringArray

get_color_list ( String theme_type ) const

PackedStringArray

get_color_type_list ( ) const

int

get_constant ( StringName name, StringName theme_type ) const

PackedStringArray

get_constant_list ( String theme_type ) const

PackedStringArray

get_constant_type_list ( ) const

Font

get_font ( StringName name, StringName theme_type ) const

PackedStringArray

get_font_list ( String theme_type ) const

int

get_font_size ( StringName name, StringName theme_type ) const

PackedStringArray

get_font_size_list ( String theme_type ) const

PackedStringArray

get_font_size_type_list ( ) const

PackedStringArray

get_font_type_list ( ) const

Texture2D

get_icon ( StringName name, StringName theme_type ) const

PackedStringArray

get_icon_list ( String theme_type ) const

PackedStringArray

get_icon_type_list ( ) const

StyleBox

get_stylebox ( StringName name, StringName theme_type ) const

PackedStringArray

get_stylebox_list ( String theme_type ) const

PackedStringArray

get_stylebox_type_list ( ) const

Variant

get_theme_item ( DataType data_type, StringName name, StringName theme_type ) const

PackedStringArray

get_theme_item_list ( DataType data_type, String theme_type ) const

PackedStringArray

get_theme_item_type_list ( DataType data_type ) const

PackedStringArray

get_type_list ( ) const

StringName

get_type_variation_base ( StringName theme_type ) const

PackedStringArray

get_type_variation_list ( StringName base_type ) const

bool

has_color ( StringName name, StringName theme_type ) const

bool

has_constant ( StringName name, StringName theme_type ) const

bool

has_default_base_scale ( ) const

bool

has_default_font ( ) const

bool

has_default_font_size ( ) const

bool

has_font ( StringName name, StringName theme_type ) const

bool

has_font_size ( StringName name, StringName theme_type ) const

bool

has_icon ( StringName name, StringName theme_type ) const

bool

has_stylebox ( StringName name, StringName theme_type ) const

bool

has_theme_item ( DataType data_type, StringName name, StringName theme_type ) const

bool

is_type_variation ( StringName theme_type, StringName base_type ) const

void

merge_with ( Theme other )

void

remove_type ( StringName theme_type )

void

rename_color ( StringName old_name, StringName name, StringName theme_type )

void

rename_constant ( StringName old_name, StringName name, StringName theme_type )

void

rename_font ( StringName old_name, StringName name, StringName theme_type )

void

rename_font_size ( StringName old_name, StringName name, StringName theme_type )

void

rename_icon ( StringName old_name, StringName name, StringName theme_type )

void

rename_stylebox ( StringName old_name, StringName name, StringName theme_type )

void

rename_theme_item ( DataType data_type, StringName old_name, StringName name, StringName theme_type )

void

set_color ( StringName name, StringName theme_type, Color color )

void

set_constant ( StringName name, StringName theme_type, int constant )

void

set_font ( StringName name, StringName theme_type, Font font )

void

set_font_size ( StringName name, StringName theme_type, int font_size )

void

set_icon ( StringName name, StringName theme_type, Texture2D texture )

void

set_stylebox ( StringName name, StringName theme_type, StyleBox texture )

void

set_theme_item ( DataType data_type, StringName name, StringName theme_type, Variant value )

void

set_type_variation ( StringName theme_type, StringName base_type )


Enumerations

enum DataType:

DataType DATA_TYPE_COLOR = 0

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_CONSTANT = 1

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_FONT = 2

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_FONT_SIZE = 3

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_ICON = 4

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_STYLEBOX = 5

There is currently no description for this enum. Please help us by contributing one!

DataType DATA_TYPE_MAX = 6

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

float default_base_scale = 0.0

  • void set_default_base_scale ( float value )

  • float get_default_base_scale ( )

There is currently no description for this property. Please help us by contributing one!


Font default_font

  • void set_default_font ( Font value )

  • Font get_default_font ( )

There is currently no description for this property. Please help us by contributing one!


int default_font_size = -1

  • void set_default_font_size ( int value )

  • int get_default_font_size ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_type ( StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear ( )

There is currently no description for this method. Please help us by contributing one!


void clear_color ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_constant ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_font ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_font_size ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_icon ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_stylebox ( StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_theme_item ( DataType data_type, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void clear_type_variation ( StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


Color get_color ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_color_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_color_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_constant ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_constant_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_constant_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


Font get_font ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_font_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


int get_font_size ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_font_size_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_font_size_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_font_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


Texture2D get_icon ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_icon_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_icon_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


StyleBox get_stylebox ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_stylebox_list ( String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_stylebox_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


Variant get_theme_item ( DataType data_type, StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_theme_item_list ( DataType data_type, String theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_theme_item_type_list ( DataType data_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_type_list ( ) const

There is currently no description for this method. Please help us by contributing one!


StringName get_type_variation_base ( StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_type_variation_list ( StringName base_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_color ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_constant ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_default_base_scale ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_default_font ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_default_font_size ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_font ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_font_size ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_icon ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_stylebox ( StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool has_theme_item ( DataType data_type, StringName name, StringName theme_type ) const

There is currently no description for this method. Please help us by contributing one!


bool is_type_variation ( StringName theme_type, StringName base_type ) const

There is currently no description for this method. Please help us by contributing one!


void merge_with ( Theme other )

There is currently no description for this method. Please help us by contributing one!


void remove_type ( StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_color ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_constant ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_font ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_font_size ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_icon ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_stylebox ( StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void rename_theme_item ( DataType data_type, StringName old_name, StringName name, StringName theme_type )

There is currently no description for this method. Please help us by contributing one!


void set_color ( StringName name, StringName theme_type, Color color )

There is currently no description for this method. Please help us by contributing one!


void set_constant ( StringName name, StringName theme_type, int constant )

There is currently no description for this method. Please help us by contributing one!


void set_font ( StringName name, StringName theme_type, Font font )

There is currently no description for this method. Please help us by contributing one!


void set_font_size ( StringName name, StringName theme_type, int font_size )

There is currently no description for this method. Please help us by contributing one!


void set_icon ( StringName name, StringName theme_type, Texture2D texture )

There is currently no description for this method. Please help us by contributing one!


void set_stylebox ( StringName name, StringName theme_type, StyleBox texture )

There is currently no description for this method. Please help us by contributing one!


void set_theme_item ( DataType data_type, StringName name, StringName theme_type, Variant value )

There is currently no description for this method. Please help us by contributing one!


void set_type_variation ( StringName theme_type, StringName base_type )

There is currently no description for this method. Please help us by contributing one!