mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Update the documentation after the changes to ComponentHandle
This commit is contained in:
parent
55f9641b84
commit
503567d84c
2 changed files with 3 additions and 23 deletions
|
@ -98,8 +98,6 @@ This documentation contains a documented generated component: [`docs::generated_
|
|||
The following associated function are added to the component:
|
||||
|
||||
- [`fn new() -> Pin<Rc<Self>>`](docs::generated_code::SampleComponent::new): to instantiate the component.
|
||||
- [`fn run(self: Pin<Rc<Self>>)`](docs::generated_code::SampleComponent::run): to show and start the event loop.
|
||||
- [`fn as_weak(self: Pin<Rc<Self>>)`](docs::generated_code::SampleComponent::as_weak): Convenience to create a weak reference pointer.
|
||||
|
||||
For each top-level property
|
||||
- A setter [`fn set_<property_name>(&self, value: <PropertyType>)`](docs::generated_code::SampleComponent::set_counter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue