Interface
LfbGdbusFeedback
since: 0.0
Description [src]
interface Lfb.GdbusFeedback : GObject.Object
Abstract interface type for the D-Bus interface org.sigxcpu.Feedback.
Available since: 0.0
Prerequisite
In order to implement GdbusFeedback, your type must inherit fromGObject
.
Functions
lfb_gdbus_feedback_interface_info
Gets a machine-readable description of the org.sigxcpu.Feedback D-Bus interface.
since: 0.0
lfb_gdbus_feedback_override_properties
Overrides all GObject
properties in the LfbGdbusFeedback
interface for a concrete class.
The properties are overridden in the order they are defined.
since: 0.0
Instance methods
lfb_gdbus_feedback_call_end_feedback
Asynchronously invokes the EndFeedback() D-Bus method on 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 (see g_main_context_push_thread_default()).
You can then call lfb_gdbus_feedback_call_end_feedback_finish()
to get the result of the operation.
since: 0.0
lfb_gdbus_feedback_call_end_feedback_finish
Finishes an operation started with lfb_gdbus_feedback_call_end_feedback().
since: 0.0
lfb_gdbus_feedback_call_end_feedback_sync
Synchronously invokes the EndFeedback() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
since: 0.0
lfb_gdbus_feedback_call_trigger_feedback
Asynchronously invokes the TriggerFeedback() D-Bus method on 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 (see g_main_context_push_thread_default()).
You can then call lfb_gdbus_feedback_call_trigger_feedback_finish()
to get the result of the operation.
since: 0.0
lfb_gdbus_feedback_call_trigger_feedback_finish
Finishes an operation started with lfb_gdbus_feedback_call_trigger_feedback().
since: 0.0
lfb_gdbus_feedback_call_trigger_feedback_sync
Synchronously invokes the TriggerFeedback() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
since: 0.0
lfb_gdbus_feedback_complete_end_feedback
Helper function used in service implementations to finish handling invocations of the EndFeedback() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
since: 0.0
lfb_gdbus_feedback_complete_trigger_feedback
Helper function used in service implementations to finish handling invocations of the TriggerFeedback() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
since: 0.0
Signals
Lfb.GdbusFeedback::feedback-ended
On the client-side, this signal is emitted whenever the D-Bus signal “FeedbackEnded” is received.
since: 0.0
Lfb.GdbusFeedback::handle-end-feedback
Signal emitted when a remote caller is invoking the EndFeedback() D-Bus method.
since: 0.0
Lfb.GdbusFeedback::handle-trigger-feedback
Signal emitted when a remote caller is invoking the TriggerFeedback() D-Bus method.
since: 0.0
Interface structure
struct LfbGdbusFeedbackIface {
GTypeInterface parent_iface;
gboolean (* handle_end_feedback) (
LfbGdbusFeedback* object,
GDBusMethodInvocation* invocation,
guint arg_id
);
gboolean (* handle_trigger_feedback) (
LfbGdbusFeedback* object,
GDBusMethodInvocation* invocation,
const gchar* arg_app_id,
const gchar* arg_event,
GVariant* arg_hints,
gint arg_timeout
);
const gchar* (* get_profile) (
LfbGdbusFeedback* object
);
void (* feedback_ended) (
LfbGdbusFeedback* object,
guint arg_id,
guint arg_reason
);
}
Virtual table for the D-Bus interface org.sigxcpu.Feedback.
Interface members
parent_iface |
|
The parent interface. |
|
handle_end_feedback |
|
No description available. | |
handle_trigger_feedback |
|
No description available. | |
get_profile |
|
No description available. | |
feedback_ended |
|
No description available. |