mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Add missing C++ sixtyfps::ComponentDefinition::name()
It was already present in Rust
This commit is contained in:
parent
6a4cd0087f
commit
fb19588c8c
3 changed files with 29 additions and 2 deletions
|
@ -709,6 +709,14 @@ public:
|
|||
cbindgen_private::sixtyfps_interpreter_component_definition_properties(&inner, &props);
|
||||
return props;
|
||||
}
|
||||
|
||||
/// Returns the name of this Component as written in the .60 file
|
||||
sixtyfps::SharedString name() const
|
||||
{
|
||||
sixtyfps::SharedString name;
|
||||
cbindgen_private::sixtyfps_interpreter_component_definition_name(&inner, &name);
|
||||
return name;
|
||||
}
|
||||
};
|
||||
|
||||
using Diagnostic = sixtyfps::cbindgen_private::CDiagnostic;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue