Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript
This commit is contained in:
parent
beceba85da
commit
1362bc22bd
17 changed files with 436 additions and 335 deletions
|
|
@ -387,7 +387,7 @@ String ConfirmationDialog::get_cancel_button_text() const {
|
|||
|
||||
void ConfirmationDialog::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_cancel_button"), &ConfirmationDialog::get_cancel_button);
|
||||
ClassDB::bind_method(D_METHOD("set_cancel_button_text"), &ConfirmationDialog::set_cancel_button_text);
|
||||
ClassDB::bind_method(D_METHOD("set_cancel_button_text", "text"), &ConfirmationDialog::set_cancel_button_text);
|
||||
ClassDB::bind_method(D_METHOD("get_cancel_button_text"), &ConfirmationDialog::get_cancel_button_text);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "cancel_button_text"), "set_cancel_button_text", "get_cancel_button_text");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue