mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Rename ComponentDefintion::callback_names() to just callbacks()
That's consistent with properties().
This commit is contained in:
parent
855808f9b5
commit
c0511a54ea
4 changed files with 10 additions and 12 deletions
|
@ -712,12 +712,11 @@ public:
|
|||
|
||||
/// Returns a vector of strings that describe the list of public callbacks that can be invoked
|
||||
/// using ComponentInstance::invoke_callback and set using ComponentInstance::set_callback.
|
||||
sixtyfps::SharedVector<sixtyfps::SharedString> callback_names() const
|
||||
sixtyfps::SharedVector<sixtyfps::SharedString> callbacks() const
|
||||
{
|
||||
sixtyfps::SharedVector<sixtyfps::SharedString> callback_names;
|
||||
cbindgen_private::sixtyfps_interpreter_component_definition_callback_names(&inner,
|
||||
&callback_names);
|
||||
return callback_names;
|
||||
sixtyfps::SharedVector<sixtyfps::SharedString> callbacks;
|
||||
cbindgen_private::sixtyfps_interpreter_component_definition_callbacks(&inner, &callbacks);
|
||||
return callbacks;
|
||||
}
|
||||
|
||||
/// Returns the name of this Component as written in the .60 file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue