Method
MetaIdleMonitoradd_idle_watch_full
Declaration [src]
guint
meta_idle_monitor_add_idle_watch_full (
MetaIdleMonitor* monitor,
guint64 interval_msec,
MetaIdleMonitorWatchFunc callback,
gpointer user_data,
GDestroyNotify notify,
MetaIdleMonitorWatchFlags flags
)
Parameters
interval_msec-
Type:
guint64The idletime interval, in milliseconds.
callback-
Type:
MetaIdleMonitorWatchFuncThe callback to call when the user has accumulated
interval_msecmilliseconds of idle time.The argument can be NULL. user_data-
Type:
gpointerThe user data to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method. notify-
Type:
GDestroyNotifyA
GDestroyNotify. flags-
Type:
MetaIdleMonitorWatchFlagsFlags for the idle watch.