.. index:: pair: struct; EE::UI::AccessibilityShortcut .. _doxid-struct_e_e_1_1_u_i_1_1_accessibility_shortcut: struct EE::UI::AccessibilityShortcut ==================================== .. toctree:: :hidden: enum_EE_UI_AccessibilityShortcut_Modifier.rst Overview ~~~~~~~~ A keyboard shortcut, both as displayed and decomposed for native APIs that want their own format (GTK accelerators on AT-SPI, command characters on macOS). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct AccessibilityShortcut { // enums enum :ref:`Modifier`; // fields std::string :ref:`text`; std::string :ref:`key`; :ref:`Uint8` :target:`modifiers` { 0 }; // methods bool :target:`empty`() const; }; .. _details-struct_e_e_1_1_u_i_1_1_accessibility_shortcut: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A keyboard shortcut, both as displayed and decomposed for native APIs that want their own format (GTK accelerators on AT-SPI, command characters on macOS). Fields ------ .. index:: pair: variable; text .. _doxid-struct_e_e_1_1_u_i_1_1_accessibility_shortcut_1a6fe1e20268b6f807e51ceb49a6f4da42: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string text As displayed to the user (UTF-8), for example "Ctrl+S". .. index:: pair: variable; key .. _doxid-struct_e_e_1_1_u_i_1_1_accessibility_shortcut_1afbc7bde689e42d8244eecbb84e5d47ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string key The platform key name (UTF-8), for example "S", "F5" or "Return".