Signal
PhoshDBusDisplayConfig::handle-change-backlight
Declaration
gboolean
handle_change_backlight (
PhoshDBusDisplayConfig* self,
GDBusMethodInvocation* invocation,
guint arg_serial,
guint arg_output,
gint arg_value,
gpointer user_data
)
Description [src]
Signal emitted when a remote caller is invoking the ChangeBacklight() D-Bus method.
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_dbus_display_config_complete_change_backlight()
or e.g. g_dbus_method_invocation_return_error()
on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Default handler: The default handler is called after the handlers added via |
Parameters
invocation
-
Type:
GDBusMethodInvocation
A
GDBusMethodInvocation
.The data is owned by the caller of the function. arg_serial
-
Type:
guint
Argument passed by remote caller.
arg_output
-
Type:
guint
Argument passed by remote caller.
arg_value
-
Type:
gint
Argument passed by remote caller.