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

lfb_gdbus_feedback_dup_profile

Gets a copy of the Profile” D-Bus property.

since: 0.0

lfb_gdbus_feedback_emit_feedback_ended

Emits the FeedbackEnded” D-Bus signal.

since: 0.0

lfb_gdbus_feedback_get_profile

Gets the value of the Profile” D-Bus property.

since: 0.0

lfb_gdbus_feedback_set_profile

Sets the Profile” D-Bus property to value.

since: 0.0

Properties

Lfb.GdbusFeedback:profile

Represents the D-Bus property Profile”.

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
GTypeInterface
 

The parent interface.

handle_end_feedback
gboolean (* handle_end_feedback) (
    LfbGdbusFeedback* object,
    GDBusMethodInvocation* invocation,
    guint arg_id
  )
 No description available.
handle_trigger_feedback
gboolean (* handle_trigger_feedback) (
    LfbGdbusFeedback* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_app_id,
    const gchar* arg_event,
    GVariant* arg_hints,
    gint arg_timeout
  )
 No description available.
get_profile
const gchar* (* get_profile) (
    LfbGdbusFeedback* object
  )
 No description available.
feedback_ended
void (* feedback_ended) (
    LfbGdbusFeedback* object,
    guint arg_id,
    guint arg_reason
  )
 No description available.

Virtual methods

Lfb.GdbusFeedback.feedback_ended
No description available.

since: 0.0

Lfb.GdbusFeedback.get_profile

Gets the value of the Profile” D-Bus property.

since: 0.0

Lfb.GdbusFeedback.handle_end_feedback
No description available.

since: 0.0

Lfb.GdbusFeedback.handle_trigger_feedback
No description available.

since: 0.0