|
stmm-input-doc
0.17.0
|
Accessor wrapping a Gtk::Window. More...

Public Member Functions | |
| bool | operator== (const Accessor &oOther) const noexcept override |
| Accessor comparison. More... | |
| bool | operator== (const GtkAccessor &oOther) const noexcept |
| GtkAccessor comparison. More... | |
| GtkAccessor (const Glib::RefPtr< Gtk::Window > &refGtkmmWindow) noexcept | |
| Constructs a Gtk::Window wrapper. More... | |
| GtkAccessor (Gtk::Window *p0GtkmmWindow) noexcept | |
| Constructs a Gtk::Window wrapper. More... | |
| virtual | ~GtkAccessor () noexcept |
| bool | isDeleted () const noexcept |
| Tells whether the window was deleted. More... | |
| Gtk::Window * | getGtkmmWindow () const noexcept |
| The Gtk::Window pointer. More... | |
Public Member Functions inherited from stmi::Accessor | |
| virtual | ~Accessor () noexcept=default |
Additional Inherited Members | |
Static Public Attributes inherited from stmi::Accessor | |
| static const shared_ptr< Accessor > | s_refEmptyAccessor |
Protected Member Functions inherited from stmi::Accessor | |
| Accessor () noexcept=default | |
Accessor wrapping a Gtk::Window.
Device managers that want to receive mouse and keyboard events directed to a gtk window need this accessor.
|
explicitnoexcept |
Constructs a Gtk::Window wrapper.
This class keeps a weak reference to the Gtk::Window.
| refGtkmmWindow | The window. Cannot be null. |
|
explicitnoexcept |
Constructs a Gtk::Window wrapper.
This class keeps a weak reference to the Gtk::Window.
| p0GtkmmWindow | The window. Cannot be null. |
|
virtualnoexcept |
|
inlinenoexcept |
The Gtk::Window pointer.
To know whether the pointer is valid call isDeleted().
|
inlinenoexcept |
Tells whether the window was deleted.
If it's the case the value returned by getGtkmmWindow() no longer is a valid pointer, but still can be useful to identify and remove data structures in a device manager.
|
overridevirtualnoexcept |
Accessor comparison.
The other accessor has to be a GtkAccessor too and have the same window. Comparison works also when the window has been deleted.
| oOther | The other instance this is comparing to. |
Implements stmi::Accessor.
|
noexcept |
GtkAccessor comparison.
Two accessors are equal if their window is the same. This works also when the window has already been deleted.
| oOther | The other instance this is comparing to. |
1.8.13