![]() |
Public Types | |
| typedef Glib::MainContext | CppObjectType |
| typedef GMainContext | BaseObjectType |
Public Member Functions | |
| bool | iteration (bool may_block) |
| bool | pending () |
| void | wakeup () |
| bool | acquire () |
| bool | wait (Glib::Cond& cond, Glib::Mutex& mutex) |
| void | release () |
| bool | prepare (int& priority) |
| bool | prepare () |
| void | query (int max_priority, int& timeout, std::vector<PollFD>& fds) |
| bool | check (int max_priority, std::vector<PollFD>& fds) |
| void | dispatch () |
| void | set_poll_func (GPollFunc poll_func) |
| GPollFunc | get_poll_func () |
| void | add_poll (PollFD& fd, int priority) |
| void | remove_poll (PollFD& fd) |
| SignalTimeout | signal_timeout () |
| Timeout signal, attached to this MainContext. | |
| SignalIdle | signal_idle () |
| Idle signal, attached to this MainContext. | |
| SignalIO | signal_io () |
| I/O signal, attached to this MainContext. | |
| void | reference () const |
| void | unreference () const |
| GMainContext* | gobj () |
| const GMainContext* | gobj () const |
| GMainContext* | gobj_copy () const |
Static Public Member Functions | |
| Glib::RefPtr<MainContext> | create () |
| Glib::RefPtr<MainContext> | get_default () |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<MainContext> | wrap (GMainContext* gobject, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Idle signal, attached to this MainContext.
|
|
|
I/O signal, attached to this MainContext.
|
|
|
Timeout signal, attached to this MainContext.
|
|
|
|
|
||||||||||||
|
|
|
|
|