|
enum class | Role {
Role::ALERT
,
Role::ALERT_DIALOG
,
Role::BANNER
,
Role::BUTTON
,
Role::CAPTION
,
Role::CELL
,
Role::CHECKBOX
,
Role::COLUMN_HEADER
,
Role::COMBO_BOX
,
Role::COMMAND
,
Role::COMPOSITE
,
Role::DIALOG
,
Role::DOCUMENT
,
Role::FEED
,
Role::FORM
,
Role::GENERIC
,
Role::GRID
,
Role::GRID_CELL
,
Role::GROUP
,
Role::HEADING
,
Role::IMG
,
Role::INPUT
,
Role::LABEL
,
Role::LANDMARK
,
Role::LEGEND
,
Role::LINK
,
Role::LIST
,
Role::LIST_BOX
,
Role::LIST_ITEM
,
Role::LOG
,
Role::MAIN
,
Role::MARQUEE
,
Role::MATH
,
Role::METER
,
Role::MENU
,
Role::MENU_BAR
,
Role::MENU_ITEM
,
Role::MENU_ITEM_CHECKBOX
,
Role::MENU_ITEM_RADIO
,
Role::NAVIGATION
,
Role::NONE
,
Role::NOTE
,
Role::OPTION
,
Role::PRESENTATION
,
Role::PROGRESS_BAR
,
Role::RADIO
,
Role::RADIO_GROUP
,
Role::RANGE
,
Role::REGION
,
Role::ROW
,
Role::ROW_GROUP
,
Role::ROW_HEADER
,
Role::SCROLLBAR
,
Role::SEARCH
,
Role::SEARCH_BOX
,
Role::SECTION
,
Role::SECTION_HEAD
,
Role::SELECT
,
Role::SEPARATOR
,
Role::SLIDER
,
Role::SPIN_BUTTON
,
Role::STATUS
,
Role::STRUCTURE
,
Role::SWITCH
,
Role::TAB
,
Role::TABLE
,
Role::TAB_LIST
,
Role::TAB_PANEL
,
Role::TEXT_BOX
,
Role::TIME
,
Role::TIMER
,
Role::TOOLBAR
,
Role::TOOLTIP
,
Role::TREE
,
Role::TREE_GRID
,
Role::TREE_ITEM
,
Role::WIDGET
,
Role::WINDOW
,
Role::TOGGLE_BUTTON
} |
| The accessible role for a Gtk::Accessible implementation. More...
|
|
enum class | State {
State::BUSY
,
State::CHECKED
,
State::DISABLED
,
State::EXPANDED
,
State::HIDDEN
,
State::INVALID
,
State::PRESSED
,
State::SELECTED
} |
| The possible accessible states of a Gtk::Accessible. More...
|
|
enum class | Property {
Property::AUTOCOMPLETE
,
Property::DESCRIPTION
,
Property::HAS_POPUP
,
Property::KEY_SHORTCUTS
,
Property::LABEL
,
Property::LEVEL
,
Property::MODAL
,
Property::MULTI_LINE
,
Property::MULTI_SELECTABLE
,
Property::ORIENTATION
,
Property::PLACEHOLDER
,
Property::READ_ONLY
,
Property::REQUIRED
,
Property::ROLE_DESCRIPTION
,
Property::SORT
,
Property::VALUE_MAX
,
Property::VALUE_MIN
,
Property::VALUE_NOW
,
Property::VALUE_TEXT
} |
| The possible accessible properties of a Gtk::Accessible. More...
|
|
enum class | Relation {
Relation::ACTIVE_DESCENDANT
,
Relation::COL_COUNT
,
Relation::COL_INDEX
,
Relation::COL_INDEX_TEXT
,
Relation::COL_SPAN
,
Relation::CONTROLS
,
Relation::DESCRIBED_BY
,
Relation::DETAILS
,
Relation::ERROR_MESSAGE
,
Relation::FLOW_TO
,
Relation::LABELLED_BY
,
Relation::OWNS
,
Relation::POS_IN_SET
,
Relation::ROW_COUNT
,
Relation::ROW_INDEX
,
Relation::ROW_INDEX_TEXT
,
Relation::ROW_SPAN
,
Relation::SET_SIZE
} |
| The possible accessible relations of a Gtk::Accessible. More...
|
|
enum class | PlatformState {
PlatformState::FOCUSABLE
,
PlatformState::FOCUSED
,
PlatformState::ACTIVE
} |
| The various platform states which can be queried using Gtk::Accessible::get_platform_state(). More...
|
|
|
| Accessible (Accessible && src) noexcept |
|
Accessible & | operator= (Accessible && src) noexcept |
|
| ~Accessible () noexcept override |
|
GtkAccessible * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkAccessible * | gobj () const |
| Provides access to the underlying C GObject.
|
|
Glib::RefPtr< ATContext > | get_at_context () |
| Retrieves the accessible implementation for the given Gtk::Accessible .
|
|
Glib::RefPtr< const ATContext > | get_at_context () const |
| Retrieves the accessible implementation for the given Gtk::Accessible .
|
|
bool | get_platform_state (PlatformState state) const |
| Query a platform state, such as focus.
|
|
Glib::RefPtr< Accessible > | get_accessible_parent () |
| Retrieves the accessible parent for an accessible object.
|
|
Glib::RefPtr< const Accessible > | get_accessible_parent () const |
| Retrieves the accessible parent for an accessible object.
|
|
void | set_accessible_parent (const Glib::RefPtr< Accessible > & parent, const Glib::RefPtr< Accessible > & next_sibling) |
| Sets the parent and sibling of an accessible object.
|
|
Glib::RefPtr< Accessible > | get_first_accessible_child () |
| Retrieves the first accessible child of an accessible object.
|
|
Glib::RefPtr< const Accessible > | get_first_accessible_child () const |
| Retrieves the first accessible child of an accessible object.
|
|
Glib::RefPtr< Accessible > | get_next_accessible_sibling () |
| Retrieves the next accessible sibling of an accessible object.
|
|
Glib::RefPtr< const Accessible > | get_next_accessible_sibling () const |
| Retrieves the next accessible sibling of an accessible object.
|
|
void | update_next_accessible_sibling (const Glib::RefPtr< Accessible > & new_sibling) |
| Updates the next accessible sibling of self.
|
|
bool | get_bounds (int & x, int & y, int & width, int & height) const |
| Queries the coordinates and dimensions of this accessible.
|
|
Role | get_accessible_role () const |
| Retrieves the accessible role of an accessible object.
|
|
void | update_state (State state, const Glib::ValueBase & value) |
| Updates an accessible state.
|
|
void | update_property (Property property, const Glib::ValueBase & value) |
| Updates an accessible property.
|
|
void | update_relation (Relation relation, const Glib::ValueBase & value) |
| Updates an accessible relation.
|
|
void | reset_state (State state) |
| Resets the accessible state to its default value.
|
|
void | reset_property (Property property) |
| Resets the accessible property to its default value.
|
|
void | reset_relation (Relation relation) |
| Resets the accessible relation to its default value.
|
|
Glib::PropertyProxy< Role > | property_accessible_role () |
| The accessible role of the given Gtk::Accessible implementation.
|
|
Glib::PropertyProxy_ReadOnly< Role > | property_accessible_role () const |
| The accessible role of the given Gtk::Accessible implementation.
|
|
| 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 |
|
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: