Fix enums bindings
Add missed bindings for enums Move some enums to class to have correct output of api.json
This commit is contained in:
parent
69017974be
commit
0fffa45158
62 changed files with 412 additions and 210 deletions
|
|
@ -655,6 +655,10 @@ void TabContainer::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::INT, "tab_align", PROPERTY_HINT_ENUM, "Left,Center,Right"), "set_tab_align", "get_tab_align");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "current_tab", PROPERTY_HINT_RANGE, "-1,4096,1", PROPERTY_USAGE_EDITOR), "set_current_tab", "get_current_tab");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "tabs_visible"), "set_tabs_visible", "are_tabs_visible");
|
||||
|
||||
BIND_ENUM_CONSTANT(ALIGN_LEFT);
|
||||
BIND_ENUM_CONSTANT(ALIGN_CENTER);
|
||||
BIND_ENUM_CONSTANT(ALIGN_RIGHT);
|
||||
}
|
||||
|
||||
TabContainer::TabContainer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue