mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
C++ docs: mention show/hide in the generated code
This commit is contained in:
parent
2440d92c6e
commit
9fc81da862
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@ public:
|
||||||
/// Show this component, and runs the event loop
|
/// Show this component, and runs the event loop
|
||||||
inline void run () const;
|
inline void run () const;
|
||||||
|
|
||||||
|
/// Show the window that renders this component. Call `sixtyfps::run_event_loop()`
|
||||||
|
/// to continuously render the contents and react to user input.
|
||||||
|
inline void show () const;
|
||||||
|
|
||||||
|
/// Hide the window that renders this component.
|
||||||
|
inline void hide () const;
|
||||||
|
|
||||||
/// Getter for the `counter` property
|
/// Getter for the `counter` property
|
||||||
inline int get_counter () const -> int;
|
inline int get_counter () const -> int;
|
||||||
/// Setter for the `counter` property
|
/// Setter for the `counter` property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue