gtkmm 4.16.0
|
Gtk::ATContext is an abstract class provided by GTK to communicate to platform-specific assistive technologies API. More...
#include <gtkmm/atcontext.h>
Public Member Functions | |
ATContext (ATContext &&src) noexcept | |
ATContext & | operator= (ATContext &&src) noexcept |
~ATContext () noexcept override | |
GtkATContext * | gobj () |
Provides access to the underlying C GObject. | |
const GtkATContext * | gobj () const |
Provides access to the underlying C GObject. | |
GtkATContext * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::RefPtr< Accessible > | get_accessible () |
Retrieves the Gtk::Accessible using this context. | |
Glib::RefPtr< const Accessible > | get_accessible () const |
Retrieves the Gtk::Accessible using this context. | |
Accessible::Role | get_accessible_role () const |
Retrieves the accessible role of this context. | |
Glib::PropertyProxy< Accessible::Role > | property_accessible_role () |
The accessible role used by the AT context. | |
Glib::PropertyProxy_ReadOnly< Accessible::Role > | property_accessible_role () const |
The accessible role used by the AT context. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Accessible > > | property_accessible () const |
The Gtk::Accessible that created the Gtk::ATContext instance. | |
Glib::PropertyProxy< Glib::RefPtr< Gdk::Display > > | property_display () |
The Gdk::Display for the Gtk::ATContext . | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Display > > | property_display () const |
The Gdk::Display for the Gtk::ATContext . | |
Glib::SignalProxy< void()> | signal_state_change () |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. | |
static Glib::RefPtr< ATContext > | create (Accessible::Role accessible_role, const Glib::RefPtr< Accessible > &accessible, const Glib::RefPtr< Gdk::Display > &display) |
Creates a new Gtk::ATContext instance for the given accessible role, accessible instance, and display connection. | |
Protected Member Functions | |
ATContext () | |
Related Symbols | |
(Note that these are not member symbols.) | |
Glib::RefPtr< Gtk::ATContext > | wrap (GtkATContext *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
Gtk::ATContext is an abstract class provided by GTK to communicate to platform-specific assistive technologies API.
Each platform supported by GTK implements a GtkATContext subclass, and is responsible for updating the accessible state in response to state changes in Gtk::Accessible.
|
noexcept |
|
overridenoexcept |
|
protected |
|
static |
Creates a new Gtk::ATContext
instance for the given accessible role, accessible instance, and display connection.
The Gtk::ATContext
implementation being instantiated will depend on the platform.
accessible_role | The accessible role used by the Gtk::ATContext . |
accessible | The Gtk::Accessible implementation using the Gtk::ATContext . |
display | The Gdk::Display used by the Gtk::ATContext . |
Gtk::ATContext
. Glib::RefPtr< Accessible > Gtk::ATContext::get_accessible | ( | ) |
Retrieves the Gtk::Accessible
using this context.
Gtk::Accessible
. Glib::RefPtr< const Accessible > Gtk::ATContext::get_accessible | ( | ) | const |
Retrieves the Gtk::Accessible
using this context.
Gtk::Accessible
. Accessible::Role Gtk::ATContext::get_accessible_role | ( | ) | const |
Retrieves the accessible role of this context.
Gtk::Accessible::Role
.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
GtkATContext * Gtk::ATContext::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Accessible > > Gtk::ATContext::property_accessible | ( | ) | const |
The Gtk::Accessible
that created the Gtk::ATContext
instance.
Glib::PropertyProxy< Accessible::Role > Gtk::ATContext::property_accessible_role | ( | ) |
The accessible role used by the AT context.
Depending on the given role, different states and properties can be set or retrieved.
Default value: Gtk::Accessible::Role::NONE
Glib::PropertyProxy_ReadOnly< Accessible::Role > Gtk::ATContext::property_accessible_role | ( | ) | const |
The accessible role used by the AT context.
Depending on the given role, different states and properties can be set or retrieved.
Default value: Gtk::Accessible::Role::NONE
Glib::PropertyProxy< Glib::RefPtr< Gdk::Display > > Gtk::ATContext::property_display | ( | ) |
The Gdk::Display
for the Gtk::ATContext
.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Display > > Gtk::ATContext::property_display | ( | ) | const |
The Gdk::Display
for the Gtk::ATContext
.
Glib::SignalProxy< void()> Gtk::ATContext::signal_state_change | ( | ) |
void on_my_state_change()
Flags: Run First
Emitted when the attributes of the accessible for the Gtk::ATContext
instance change.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |