Method
MetaIdleMonitoradd_user_active_watch
Declaration [src]
guint
meta_idle_monitor_add_user_active_watch (
MetaIdleMonitor* monitor,
MetaIdleMonitorWatchFunc callback,
gpointer user_data,
GDestroyNotify notify
)
Parameters
callback |
MetaIdleMonitorWatchFunc |
The callback to call when the user is active again. |
|
user_data |
gpointer |
The user data to pass to the callback. |
|
notify |
GDestroyNotify |
A |
Return value
Returns: | guint |
A watch id Add a one-time watch to know when the user is active again.
Note that this watch is one-time and will de-activate after the
function is called, for efficiency purposes. It’s most convenient
to call this when an idle watch, as added by
|