![]() |
![]() |
![]() |
Mission Control Reference Manual | ![]() |
---|---|---|---|---|
"account-changed" : Run Last "account-created" : Run Last "account-deleted" : Run Last "account-disabled" : Run Last "account-enabled" : Run Last "param-changed" : Run Last
The McAccountMonitor is an object that raises signals when some changes have been made to one account. There are signals for account creation/deletion/change, and enabling/disabling.
McAccountMonitor* mc_account_monitor_new (void);
Get a McAccountMonitor object. The object is a singleton: it is created only if another instance of itself is not alive, otherwise the same instance is returned.
Returns : |
the McAccountMonitor object. |
"account-changed"
signalvoid user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is changed.
|
The McAccountMonitor. |
|
The name of the account being changed (use mc_account_lookup() to
retrieve the account object).
|
|
user data set when the signal handler was connected. |
"account-created"
signalvoid user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when a new account is created.
|
The McAccountMonitor. |
|
The name of the account being created (use mc_account_lookup() to
retrieve the account object).
|
|
user data set when the signal handler was connected. |
"account-deleted"
signalvoid user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is deleted.
|
The McAccountMonitor. |
|
The name of the account being deleted (use mc_account_lookup() to
retrieve the account object).
|
|
user data set when the signal handler was connected. |
"account-disabled"
signalvoid user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is disabled.
|
The McAccountMonitor. |
|
The name of the account being disabled (use mc_account_lookup() to
retrieve the account object).
|
|
user data set when the signal handler was connected. |
"account-enabled"
signalvoid user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is enabled.
|
The McAccountMonitor. |
|
The name of the account being enabled (use mc_account_lookup() to
retrieve the account object).
|
|
user data set when the signal handler was connected. |
"param-changed"
signalvoid user_function (McAccountMonitor *self, gchar *name, gchar *param, gpointer user_data) : Run Last
Emitted when an account parameter is changed.
|
The McAccountMonitor. |
|
The name of the account being changed (use mc_account_lookup() to
retrieve the account object).
|
|
The name of the parameter which changed. |
|
user data set when the signal handler was connected. |