mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +00:00
Add support for manually closing PopupWindows
This patch adds a `close()` function that can be called to close a popup window, and a `close-to-click` boolean that can be set to false to disable the default behavior.
This commit is contained in:
parent
a0a5294e49
commit
0f54b9599b
20 changed files with 349 additions and 24 deletions
|
|
@ -331,6 +331,7 @@ fn gen_corelib(
|
|||
"slint_windowrc_set_focus_item",
|
||||
"slint_windowrc_set_component",
|
||||
"slint_windowrc_show_popup",
|
||||
"slint_windowrc_close_popup",
|
||||
"slint_windowrc_set_rendering_notifier",
|
||||
"slint_windowrc_request_redraw",
|
||||
"slint_windowrc_on_close_requested",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue