glibmm 2.30.1
|
#include <glibmm/main.h>
Public Member Functions | |
sigc::connection | connect (const sigc::slot< void, GPid, int >& slot, GPid pid, int priority=PRIORITY_DEFAULT) |
Connects a child watch handler. |
sigc::connection Glib::SignalChildWatch::connect | ( | const sigc::slot< void, GPid, int > & | slot, |
GPid | pid, | ||
int | priority = PRIORITY_DEFAULT |
||
) |
Connects a child watch handler.
Glib::signal_child_watch().connect(sigc::ptr_fun(&child_watch_handler), pid);
slot | A slot to call when child pid exited. |
pid | The child to watch for. |
priority | The priority of the new event source. |