Expand description
Action functions that can be called anywhere in a Floem application
This module includes a variety of functions that can interact with the window from which the function is being called.
This includes, moving the window, resizing the window, adding context menus and overlays, and running a callback after a specified duration.
Re-exports§
pub use crate::file_action::*;
Structs§
- Timer
Token - A token associated with a timer
Functions§
- add_
overlay - Creates a new overlay on the current window.
- clear_
app_ focus - Clear the app focus
- debounce_
action - Debounce an action
- drag_
resize_ window - If and while the mouse is pressed, allow the window to be resized
- drag_
window - If and while the mouse is pressed, allow the window to be dragged
- exec_
after - Execute a callback after a specified duration
- focus_
window - Focus the window
- inspect
- Send a message to the application to open the Inspector for this Window
- minimize_
window - Minimize the window
- remove_
overlay - Removes an overlay from the current window.
- set_
ime_ allowed - Set whether ime input is shown
- set_
ime_ cursor_ area - Set the ime cursor area
- set_
window_ delta - Move the window by a specified delta
- set_
window_ maximized - Set the maximized state of the window
- set_
window_ menu - Set the system window menu
- set_
window_ scale - Set the window scale
- set_
window_ title - Set the title of the window
- show_
context_ menu - Show a system context menu at the specified position
- toggle_
window_ maximized - Toggle whether the window is maximized or not