glibmm 2.56.0

Classes | Functions
The Main Event Loop

Manages all available sources of events. More...

## Classes
class | Glib::PollFD
class | Glib::SignalTimeout
class | Glib::SignalIdle
class | Glib::SignalIO
class | Glib::SignalChildWatch
class | Glib::MainContext
| Main context. More...
class | Glib::MainLoop
class | Glib::Source
class | Glib::TimeoutSource
class | Glib::IdleSource
class | Glib::IOSource

## Functions
SignalTimeout | Glib::signal_timeout ()
| Convenience timeout signal. More...
SignalIdle | Glib::signal_idle ()
| Convenience idle signal. More...
SignalIO | Glib::signal_io ()
| Convenience I/O signal. More...
SignalChildWatch | Glib::signal_child_watch ()
| Convenience child watch signal. More...
Glib::RefPtr< MainContext > | wrap (GMainContext* gobject, bool take_copy=false)
Glib::RefPtr< MainLoop > | wrap (GMainLoop* gobject, bool take_copy=false)

## Detailed Description

Manages all available sources of events.

## Function Documentation

## ◆ signal_child_watch()

SignalChildWatch Glib::signal_child_watch | ( |  | ) |

Convenience child watch signal.

Returns
  A signal proxy; you want to use SignalChildWatch::connect().

## ◆ signal_idle()

SignalIdle Glib::signal_idle | ( |  | ) |

Convenience idle signal.

Returns
  A signal proxy; you want to use SignalIdle::connect().

Examples:
  thread/dispatcher.cc.

## ◆ signal_io()

SignalIO Glib::signal_io | ( |  | ) |

Convenience I/O signal.

Returns
  A signal proxy; you want to use SignalIO::connect().

## ◆ signal_timeout()

SignalTimeout Glib::signal_timeout | ( |  | ) |

Convenience timeout signal.

Returns
  A signal proxy; you want to use SignalTimeout::connect().

## ◆ wrap() [1/2]

Glib::RefPtr< MainContext > wrap | ( | GMainContext * | gobject,
|  | bool | take_copy = `false`
| ) |  |
| related

## ◆ wrap() [2/2]

Glib::RefPtr< MainLoop > wrap | ( | GMainLoop * | gobject,
|  | bool | take_copy = `false`
| ) |  |
| related