| libvtemm Reference Documentation |
SIGCHLD signals and converts them into GObject-style "child-exited" signals.
More...

Public Member Functions | |
| const VteReaper* | gobj () const |
| Provides access to the underlying C GObject. | |
| VteReaper* | gobj () |
| Provides access to the underlying C GObject. | |
| VteReaper* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::SignalProxy2< void, int, int > | signal_child_exited () |
| virtual | ~Reaper () |
Static Public Member Functions | |
| static int | add_child (Glib::Pid pid) |
| Ensures that child-exited signals will be emitted when pid exits. | |
| static const Glib::RefPtr<Reaper> | get () |
| Finds the address of the global Vte::Reaper object, creating the object if necessary. | |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gnome::Vte::Reaper> | wrap (VteReaper* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
SIGCHLD signals and converts them into GObject-style "child-exited" signals. | virtual Gnome::Vte::Reaper::~Reaper | ( | ) | [virtual] |
| static int Gnome::Vte::Reaper::add_child | ( | Glib::Pid | pid | ) | [static] |
Ensures that child-exited signals will be emitted when pid exits.
This is necessary for correct operation when running with glib versions >= 2.4.
| pid | The ID of a child process which will be monitored. |
| static const Glib::RefPtr<Reaper> Gnome::Vte::Reaper::get | ( | ) | [static] |
Finds the address of the global Vte::Reaper object, creating the object if necessary.
| const VteReaper* Gnome::Vte::Reaper::gobj | ( | ) | const [inline] |
| VteReaper* Gnome::Vte::Reaper::gobj | ( | ) | [inline] |
| VteReaper* Gnome::Vte::Reaper::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| Glib::SignalProxy2< void,int,int > Gnome::Vte::Reaper::signal_child_exited | ( | ) |
void on_my_child_exited(int pid, int status)
| Glib::RefPtr<Gnome::Vte::Reaper> wrap | ( | VteReaper * | object, | |
| bool | take_copy = false | |||
| ) | [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. |