Top | ![]() |
![]() |
![]() |
![]() |
gboolean | handle-add-idle-watch | Run Last |
gboolean | handle-add-user-active-watch | Run Last |
gboolean | handle-get-idletime | Run Last |
gboolean | handle-remove-watch | Run Last |
void | watch-fired | Run Last |
GInterface ├── PhoshIdleDbusIdleMonitor ╰── PhoshIdleDbusObject GObject ├── GDBusInterfaceSkeleton │ ╰── PhoshIdleDbusIdleMonitorSkeleton ├── GDBusObjectManagerClient │ ╰── PhoshIdleDbusObjectManagerClient ├── GDBusObjectProxy │ ╰── PhoshIdleDbusObjectProxy ├── GDBusObjectSkeleton │ ╰── PhoshIdleDbusObjectSkeleton ╰── GDBusProxy ╰── PhoshIdleDbusIdleMonitorProxy
PhoshIdleDbusIdleMonitor requires GObject.
PhoshIdleDbusObject requires GDBusObject and GObject.
PhoshIdleDbusIdleMonitorProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshIdleDbusIdleMonitor.
PhoshIdleDbusIdleMonitorSkeleton implements GDBusInterface and PhoshIdleDbusIdleMonitor.
PhoshIdleDbusObjectProxy implements GDBusObject and PhoshIdleDbusObject.
PhoshIdleDbusObjectSkeleton implements GDBusObject and PhoshIdleDbusObject.
PhoshIdleDbusObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.
PhoshIdleDbusIdleMonitor is implemented by PhoshIdleDbusIdleMonitorProxy and PhoshIdleDbusIdleMonitorSkeleton.
PhoshIdleDbusObject is implemented by PhoshIdleDbusObjectProxy and PhoshIdleDbusObjectSkeleton.
GDBusInterfaceInfo *
phosh_idle_dbus_idle_monitor_interface_info
(void
);
Gets a machine-readable description of the org.gnome.Mutter.IdleMonitor D-Bus interface.
guint phosh_idle_dbus_idle_monitor_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshIdleDbusIdleMonitor interface for a concrete class. The properties are overridden in the order they are defined.
void phosh_idle_dbus_idle_monitor_complete_get_idletime (PhoshIdleDbusIdleMonitor *object
,GDBusMethodInvocation *invocation
,guint64 idletime
);
Helper function used in service implementations to finish handling invocations of the GetIdletime()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_idle_dbus_idle_monitor_complete_add_idle_watch (PhoshIdleDbusIdleMonitor *object
,GDBusMethodInvocation *invocation
,guint id
);
Helper function used in service implementations to finish handling invocations of the AddIdleWatch()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_idle_dbus_idle_monitor_complete_add_user_active_watch (PhoshIdleDbusIdleMonitor *object
,GDBusMethodInvocation *invocation
,guint id
);
Helper function used in service implementations to finish handling invocations of the AddUserActiveWatch()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_idle_dbus_idle_monitor_complete_remove_watch (PhoshIdleDbusIdleMonitor *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the RemoveWatch()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_idle_dbus_idle_monitor_emit_watch_fired (PhoshIdleDbusIdleMonitor *object
,guint arg_id
);
Emits the "WatchFired" D-Bus signal.
void phosh_idle_dbus_idle_monitor_call_get_idletime (PhoshIdleDbusIdleMonitor *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetIdletime()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_call_get_idletime_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_call_get_idletime_sync()
for the synchronous, blocking version of this method.
gboolean phosh_idle_dbus_idle_monitor_call_get_idletime_finish (PhoshIdleDbusIdleMonitor *proxy
,guint64 *out_idletime
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_get_idletime()
.
proxy |
||
out_idletime |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_idle_dbus_idle_monitor_call_get_idletime_sync (PhoshIdleDbusIdleMonitor *proxy
,guint64 *out_idletime
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetIdletime()
proxy
. The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_call_get_idletime()
for the asynchronous version of this method.
void phosh_idle_dbus_idle_monitor_call_add_idle_watch (PhoshIdleDbusIdleMonitor *proxy
,guint64 arg_interval
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the AddIdleWatch()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_call_add_idle_watch_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_call_add_idle_watch_sync()
for the synchronous, blocking version of this method.
gboolean phosh_idle_dbus_idle_monitor_call_add_idle_watch_finish (PhoshIdleDbusIdleMonitor *proxy
,guint *out_id
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_add_idle_watch()
.
proxy |
||
out_id |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_idle_dbus_idle_monitor_call_add_idle_watch_sync (PhoshIdleDbusIdleMonitor *proxy
,guint64 arg_interval
,guint *out_id
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the AddIdleWatch()
proxy
. The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_call_add_idle_watch()
for the asynchronous version of this method.
void phosh_idle_dbus_idle_monitor_call_add_user_active_watch (PhoshIdleDbusIdleMonitor *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the AddUserActiveWatch()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_call_add_user_active_watch_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_call_add_user_active_watch_sync()
for the synchronous, blocking version of this method.
gboolean phosh_idle_dbus_idle_monitor_call_add_user_active_watch_finish (PhoshIdleDbusIdleMonitor *proxy
,guint *out_id
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_add_user_active_watch()
.
proxy |
||
out_id |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_idle_dbus_idle_monitor_call_add_user_active_watch_sync (PhoshIdleDbusIdleMonitor *proxy
,guint *out_id
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the AddUserActiveWatch()
proxy
. The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_call_add_user_active_watch()
for the asynchronous version of this method.
void phosh_idle_dbus_idle_monitor_call_remove_watch (PhoshIdleDbusIdleMonitor *proxy
,guint arg_id
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the RemoveWatch()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_call_remove_watch_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_call_remove_watch_sync()
for the synchronous, blocking version of this method.
gboolean phosh_idle_dbus_idle_monitor_call_remove_watch_finish (PhoshIdleDbusIdleMonitor *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_remove_watch()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_idle_dbus_idle_monitor_call_remove_watch_sync (PhoshIdleDbusIdleMonitor *proxy
,guint arg_id
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the RemoveWatch()
proxy
. The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_call_remove_watch()
for the asynchronous version of this method.
void phosh_idle_dbus_idle_monitor_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.gnome.Mutter.IdleMonitor. See g_dbus_proxy_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_proxy_new_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshIdleDbusIdleMonitor * phosh_idle_dbus_idle_monitor_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
PhoshIdleDbusIdleMonitor * phosh_idle_dbus_idle_monitor_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.gnome.Mutter.IdleMonitor. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_proxy_new()
for the asynchronous version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_idle_dbus_idle_monitor_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_idle_dbus_idle_monitor_proxy_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_idle_monitor_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_idle_dbus_idle_monitor_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshIdleDbusIdleMonitor * phosh_idle_dbus_idle_monitor_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_idle_monitor_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
PhoshIdleDbusIdleMonitor * phosh_idle_dbus_idle_monitor_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_idle_dbus_idle_monitor_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_proxy_new_for_bus()
for the asynchronous version of this constructor.
PhoshIdleDbusIdleMonitor *
phosh_idle_dbus_idle_monitor_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.gnome.Mutter.IdleMonitor.
PhoshIdleDbusIdleMonitor *
phosh_idle_dbus_object_get_idle_monitor
(PhoshIdleDbusObject *object
);
Gets the PhoshIdleDbusIdleMonitor instance for the D-Bus interface org.gnome.Mutter.IdleMonitor on object
, if any.
A PhoshIdleDbusIdleMonitor that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
PhoshIdleDbusIdleMonitor *
phosh_idle_dbus_object_peek_idle_monitor
(PhoshIdleDbusObject *object
);
Like phosh_idle_dbus_object_get_idle_monitor()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A PhoshIdleDbusIdleMonitor or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
PhoshIdleDbusObjectProxy * phosh_idle_dbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
PhoshIdleDbusObjectSkeleton *
phosh_idle_dbus_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
void phosh_idle_dbus_object_skeleton_set_idle_monitor (PhoshIdleDbusObjectSkeleton *object
,PhoshIdleDbusIdleMonitor *interface_
);
Sets the PhoshIdleDbusIdleMonitor instance for the D-Bus interface org.gnome.Mutter.IdleMonitor on object
.
GType phosh_idle_dbus_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager
,const gchar *object_path
,const gchar *interface_name
,gpointer user_data
);
A GDBusProxyTypeFunc that maps interface_name
to the generated GDBusObjectProxy derived and GDBusProxy derived types.
manager |
A GDBusObjectManagerClient. |
|
object_path |
The object path of the remote object (unused). |
|
interface_name |
Interface name of the remote object or |
[nullable] |
user_data |
User data (unused). |
A GDBusProxy derived GType if interface_name
is not NULL
, otherwise the GType for PhoshIdleDbusObjectProxy.
void phosh_idle_dbus_object_manager_client_new (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates GDBusObjectManagerClient using phosh_idle_dbus_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_object_manager_client_new_finish()
to get the result of the operation.
See phosh_idle_dbus_object_manager_client_new_sync()
for the synchronous, blocking version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * phosh_idle_dbus_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
GDBusObjectManager * phosh_idle_dbus_object_manager_client_new_sync (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates GDBusObjectManagerClient using phosh_idle_dbus_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_idle_dbus_object_manager_client_new()
for the asynchronous version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_idle_dbus_object_manager_client_new_for_bus (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_idle_dbus_object_manager_client_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call phosh_idle_dbus_object_manager_client_new_for_bus_finish()
to get the result of the operation.
See phosh_idle_dbus_object_manager_client_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * phosh_idle_dbus_object_manager_client_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_idle_dbus_object_manager_client_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
GDBusObjectManager * phosh_idle_dbus_object_manager_client_new_for_bus_sync (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_idle_dbus_object_manager_client_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_idle_dbus_object_manager_client_new_for_bus()
for the asynchronous version of this constructor.
struct PhoshIdleDbusIdleMonitorIface { GTypeInterface parent_iface; gboolean (*handle_add_idle_watch) ( PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, guint64 arg_interval); gboolean (*handle_add_user_active_watch) ( PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation); gboolean (*handle_get_idletime) ( PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation); gboolean (*handle_remove_watch) ( PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, guint arg_id); void (*watch_fired) ( PhoshIdleDbusIdleMonitor *object, guint arg_id); };
Virtual table for the D-Bus interface org.gnome.Mutter.IdleMonitor.
The parent interface. |
||
Handler for the “handle-add-idle-watch” signal. |
||
Handler for the “handle-add-user-active-watch” signal. |
||
Handler for the “handle-get-idletime” signal. |
||
Handler for the “handle-remove-watch” signal. |
||
Handler for the “watch-fired” signal. |
struct PhoshIdleDbusIdleMonitorProxy;
The PhoshIdleDbusIdleMonitorProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshIdleDbusIdleMonitorProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshIdleDbusIdleMonitorProxy.
struct PhoshIdleDbusIdleMonitorSkeleton;
The PhoshIdleDbusIdleMonitorSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshIdleDbusIdleMonitorSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshIdleDbusIdleMonitorSkeleton.
struct PhoshIdleDbusObjectIface { GTypeInterface parent_iface; };
Virtual table for the PhoshIdleDbusObject interface.
struct PhoshIdleDbusObjectProxy;
The PhoshIdleDbusObjectProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshIdleDbusObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for PhoshIdleDbusObjectProxy.
struct PhoshIdleDbusObjectSkeleton;
The PhoshIdleDbusObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshIdleDbusObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for PhoshIdleDbusObjectSkeleton.
struct PhoshIdleDbusObjectManagerClient;
The PhoshIdleDbusObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct PhoshIdleDbusObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for PhoshIdleDbusObjectManagerClient.
typedef struct _PhoshIdleDbusIdleMonitor PhoshIdleDbusIdleMonitor;
Abstract interface type for the D-Bus interface org.gnome.Mutter.IdleMonitor.
typedef struct _PhoshIdleDbusIdleMonitorProxyPrivate PhoshIdleDbusIdleMonitorProxyPrivate;
typedef struct _PhoshIdleDbusIdleMonitorSkeletonPrivate PhoshIdleDbusIdleMonitorSkeletonPrivate;
typedef struct _PhoshIdleDbusObject PhoshIdleDbusObject;
The PhoshIdleDbusObject type is a specialized container of interfaces.
typedef struct _PhoshIdleDbusObjectManagerClientPrivate PhoshIdleDbusObjectManagerClientPrivate;
typedef struct _PhoshIdleDbusObjectProxyPrivate PhoshIdleDbusObjectProxyPrivate;
“idle-monitor”
property“idle-monitor” PhoshIdleDbusIdleMonitor *
The PhoshIdleDbusIdleMonitor instance corresponding to the D-Bus interface org.gnome.Mutter.IdleMonitor, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“handle-add-idle-watch”
signalgboolean user_function (PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, guint64 arg_interval, gpointer user_data)
Signal emitted when a remote caller is invoking the AddIdleWatch()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_idle_dbus_idle_monitor_complete_add_idle_watch()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_interval |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-add-user-active-watch”
signalgboolean user_function (PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the AddUserActiveWatch()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_idle_dbus_idle_monitor_complete_add_user_active_watch()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-get-idletime”
signalgboolean user_function (PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the GetIdletime()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_idle_dbus_idle_monitor_complete_get_idletime()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-remove-watch”
signalgboolean user_function (PhoshIdleDbusIdleMonitor *object, GDBusMethodInvocation *invocation, guint arg_id, gpointer user_data)
Signal emitted when a remote caller is invoking the RemoveWatch()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_idle_dbus_idle_monitor_complete_remove_watch()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_id |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“watch-fired”
signalvoid user_function (PhoshIdleDbusIdleMonitor *object, guint arg_id, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "WatchFired" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
Flags: Run Last