PropertyFactory ​
Inherits: RefCounted
Makes the rows of the inspector editors of the toolkit: a label with a check box, a text field, a number, a drop-down, a database drop-down, a slider or a color picker, each as an EditorProperty that calls a function when its value changes.
Methods ​
EditorProperty | create_editor_property() static |
EditorProperty | create_property_row_editor( label_text: String, control: Control, label_width: int = 120, tooltip: String = "" ) static |
EditorProperty | create_read_only_editor( label_text: String, value_text: String, label_width: int = 120 ) static |
EditorProperty | create_checkbox_editor( label_text: String, initial_value: bool, tooltip: String, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_string_editor( label_text: String, initial_value: String, tooltip: String, placeholder: String, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_spinbox_editor( label_text: String, initial_value: float, options: Dictionary, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_option_button_editor( label_text: String, items: PackedStringArray, initial_index: int, tooltip: String, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_database_option_button_editor( label_text: String, database: String, initial_id: int, tooltip: String, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_hslider_editor( label_text: String, initial_value: float, options: Dictionary, callback: Callable, label_width: int = 120 ) static |
EditorProperty | create_color_picker_editor( label_text: String, initial_color: Color, tooltip: String, callback: Callable, label_width: int = 120 ) static |
Method descriptions ​
EditorProperty create_editor_property() ​
No description yet.
EditorProperty create_property_row_editor( label_text: String, control: Control, label_width: int = 120, tooltip: String = "" ) ​
No description yet.
EditorProperty create_read_only_editor( label_text: String, value_text: String, label_width: int = 120 ) ​
No description yet.
EditorProperty create_checkbox_editor( label_text: String, initial_value: bool, tooltip: String, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_string_editor( label_text: String, initial_value: String, tooltip: String, placeholder: String, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_spinbox_editor( label_text: String, initial_value: float, options: Dictionary, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_option_button_editor( label_text: String, items: PackedStringArray, initial_index: int, tooltip: String, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_database_option_button_editor( label_text: String, database: String, initial_id: int, tooltip: String, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_hslider_editor( label_text: String, initial_value: float, options: Dictionary, callback: Callable, label_width: int = 120 ) ​
No description yet.
EditorProperty create_color_picker_editor( label_text: String, initial_color: Color, tooltip: String, callback: Callable, label_width: int = 120 ) ​
No description yet.