mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Remove the test function for sending double_click
They are not commonly used so no need to use semi-public api for that and it's really easy to similate with ust two clicks anyway The previous test function were added before there was public way to send events
This commit is contained in:
parent
6ce394b90a
commit
573d4a3b50
7 changed files with 33 additions and 67 deletions
|
@ -29,12 +29,6 @@ inline void send_mouse_click(const Component *component, float x, float y)
|
|||
cbindgen_private::slint_send_mouse_click(x, y, &component->window().window_handle());
|
||||
}
|
||||
|
||||
template<typename Component>
|
||||
inline void send_mouse_double_click(const Component *component, float x, float y)
|
||||
{
|
||||
cbindgen_private::slint_send_mouse_double_click(x, y, &component->window().window_handle());
|
||||
}
|
||||
|
||||
template<typename Component>
|
||||
inline void send_keyboard_char(const Component *component, const slint::SharedString &str,
|
||||
bool pressed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue