|
enum class | Role {
ALERT
,
ALERT_DIALOG
,
BANNER
,
BUTTON
,
CAPTION
,
CELL
,
CHECKBOX
,
COLUMN_HEADER
,
COMBO_BOX
,
COMMAND
,
COMPOSITE
,
DIALOG
,
DOCUMENT
,
FEED
,
FORM
,
GENERIC
,
GRID
,
GRID_CELL
,
GROUP
,
HEADING
,
IMG
,
INPUT
,
LABEL
,
LANDMARK
,
LEGEND
,
LINK
,
LIST
,
LIST_BOX
,
LIST_ITEM
,
LOG
,
MAIN
,
MARQUEE
,
MATH
,
METER
,
MENU
,
MENU_BAR
,
MENU_ITEM
,
MENU_ITEM_CHECKBOX
,
MENU_ITEM_RADIO
,
NAVIGATION
,
NONE
,
NOTE
,
OPTION
,
PRESENTATION
,
PROGRESS_BAR
,
RADIO
,
RADIO_GROUP
,
RANGE
,
REGION
,
ROW
,
ROW_GROUP
,
ROW_HEADER
,
SCROLLBAR
,
SEARCH
,
SEARCH_BOX
,
SECTION
,
SECTION_HEAD
,
SELECT
,
SEPARATOR
,
SLIDER
,
SPIN_BUTTON
,
STATUS
,
STRUCTURE
,
SWITCH
,
TAB
,
TABLE
,
TAB_LIST
,
TAB_PANEL
,
TEXT_BOX
,
TIME
,
TIMER
,
TOOLBAR
,
TOOLTIP
,
TREE
,
TREE_GRID
,
TREE_ITEM
,
WIDGET
,
WINDOW
} |
| The accessible role for a Gtk::Accessible implementation. More...
|
|
enum class | State {
BUSY
,
CHECKED
,
DISABLED
,
EXPANDED
,
HIDDEN
,
INVALID
,
PRESSED
,
SELECTED
} |
| The possible accessible states of a Gtk::Accessible. More...
|
|
enum class | Property {
AUTOCOMPLETE
,
DESCRIPTION
,
HAS_POPUP
,
KEY_SHORTCUTS
,
LABEL
,
LEVEL
,
MODAL
,
MULTI_LINE
,
MULTI_SELECTABLE
,
ORIENTATION
,
PLACEHOLDER
,
READ_ONLY
,
REQUIRED
,
ROLE_DESCRIPTION
,
SORT
,
VALUE_MAX
,
VALUE_MIN
,
VALUE_NOW
,
VALUE_TEXT
} |
| The possible accessible properties of a Gtk::Accessible. More...
|
|
enum class | Relation {
ACTIVE_DESCENDANT
,
COL_COUNT
,
COL_INDEX
,
COL_INDEX_TEXT
,
COL_SPAN
,
CONTROLS
,
DESCRIBED_BY
,
DETAILS
,
ERROR_MESSAGE
,
FLOW_TO
,
LABELLED_BY
,
OWNS
,
POS_IN_SET
,
ROW_COUNT
,
ROW_INDEX
,
ROW_INDEX_TEXT
,
ROW_SPAN
,
SET_SIZE
} |
| The possible accessible relations of a Gtk::Accessible. More...
|
|
typedef internal::func_destroy_notify | func_destroy_notify |
|
typedef internal::func_destroy_notify | func_destroy_notify |
|
|
| Accessible (Accessible && src) noexcept |
|
Accessible & | operator= (Accessible && src) noexcept |
|
| ~Accessible () noexcept override |
|
GtkAccessible * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkAccessible * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
Role | get_accessible_role () const |
| Retrieves the Gtk::Accessible::Role for the given Gtk::Accessible . More...
|
|
void | update_state (State state, const Glib::ValueBase & value) |
| Updates an accessible state. More...
|
|
void | update_property (Property property, const Glib::ValueBase & value) |
| Updates an accessible property. More...
|
|
void | update_relation (Relation relation, const Glib::ValueBase & value) |
| Updates an accessible relation. More...
|
|
void | reset_state (State state) |
| Resets the accessible state to its default value. More...
|
|
void | reset_property (Property property) |
| Resets the accessible property to its default value. More...
|
|
void | reset_relation (Relation relation) |
| Resets the accessible relation to its default value. More...
|
|
Glib::PropertyProxy< Role > | property_accessible_role () |
| The accessible role of the given Gtk::Accessible implementation. More...
|
|
Glib::PropertyProxy_ReadOnly< Role > | property_accessible_role () const |
| The accessible role of the given Gtk::Accessible implementation. More...
|
|
| Interface () |
|
| Interface (Interface &&src) noexcept |
|
Interface & | operator= (Interface &&src) noexcept |
|
| Interface (const Glib::Interface_Class &interface_class) |
|
| Interface (GObject *castitem) |
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
Accessible interface.
Gtk::Accessible provides an interface for describing a UI element, like a Gtk::Widget, in a way that can be consumed by Assistive Technologies, or “AT”. Every accessible implementation has:
The role cannot be changed after instantiating a Gtk::Accessible implementation.
The attributes are updated every time a UI element's state changes in a way that should be reflected by assistive technologies. For instance, if a Gtk::Widget visibility changes, the Gtk::Accessible::State::HIDDEN state will also change to reflect Gtk::Widget::property_visible().
- Since gtkmm 3.98: