pub fn add_quick_access(
identifier: impl AsRef<str>,
texture_identifier: impl AsRef<str>,
texture_hover_identifier: impl AsRef<str>,
keybind_identifier: impl AsRef<str>,
tooltip_text: impl AsRef<str>,
) -> Revertible<impl Fn() + Send + Sync + Clone + 'static>Expand description
Adds a new shortcut icon to the quick access with the given texture identifiers. When clicked the given keybind identifier is triggered.
Returns a Revertible to remove the shortcut.