Interface

PhoshDBusEndSessionDialog

since: 0

Description [src]

interface Phosh.DBusEndSessionDialog : GObject.Object

Abstract interface type for the D-Bus interface org.gnome.SessionManager.EndSessionDialog.

Available since: 0

Prerequisite

In order to implement DBusEndSessionDialog, your type must inherit fromGObject.

Functions

phosh_dbus_end_session_dialog_interface_info

Gets a machine-readable description of the org.gnome.SessionManager.EndSessionDialog D-Bus interface.

since: 0

phosh_dbus_end_session_dialog_override_properties

Overrides all GObject properties in the PhoshDBusEndSessionDialog interface for a concrete class. The properties are overridden in the order they are defined.

since: 0

Instance methods

phosh_dbus_end_session_dialog_call_open

Asynchronously invokes the Open() 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 phosh_dbus_end_session_dialog_call_open_finish() to get the result of the operation.

since: 0

phosh_dbus_end_session_dialog_call_open_finish

Finishes an operation started with phosh_dbus_end_session_dialog_call_open().

since: 0

phosh_dbus_end_session_dialog_call_open_sync

Synchronously invokes the Open() D-Bus method on proxy. The calling thread is blocked until a reply is received.

since: 0

phosh_dbus_end_session_dialog_complete_open

Helper function used in service implementations to finish handling invocations of the Open() 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

phosh_dbus_end_session_dialog_emit_canceled

Emits the Canceled” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_closed

Emits the Closed” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_hibernate

Emits the ConfirmedHibernate” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_hybrid_sleep

Emits the ConfirmedHybridSleep” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_logout

Emits the ConfirmedLogout” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_reboot

Emits the ConfirmedReboot” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_shutdown

Emits the ConfirmedShutdown” D-Bus signal.

since: 0

phosh_dbus_end_session_dialog_emit_confirmed_suspend

Emits the ConfirmedSuspend” D-Bus signal.

since: 0

Signals

Phosh.DBusEndSessionDialog::canceled

On the client-side, this signal is emitted whenever the D-Bus signal Canceled” is received.

since: 0

Phosh.DBusEndSessionDialog::closed

On the client-side, this signal is emitted whenever the D-Bus signal Closed” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-hibernate

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedHibernate” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-hybrid-sleep

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedHybridSleep” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-logout

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedLogout” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-reboot

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedReboot” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-shutdown

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedShutdown” is received.

since: 0

Phosh.DBusEndSessionDialog::confirmed-suspend

On the client-side, this signal is emitted whenever the D-Bus signal ConfirmedSuspend” is received.

since: 0

Phosh.DBusEndSessionDialog::handle-open

Signal emitted when a remote caller is invoking the Open() D-Bus method.

since: 0

Interface structure

struct PhoshDBusEndSessionDialogIface {
  GTypeInterface parent_iface;
  gboolean (* handle_open) (
    PhoshDBusEndSessionDialog* object,
    GDBusMethodInvocation* invocation,
    guint arg_type,
    guint arg_timestamp,
    guint arg_seconds_to_stay_open,
    const gchar* const* arg_inhibitor_object_paths
  );
  void (* canceled) (
    PhoshDBusEndSessionDialog* object
  );
  void (* closed) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_hibernate) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_hybrid_sleep) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_logout) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_reboot) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_shutdown) (
    PhoshDBusEndSessionDialog* object
  );
  void (* confirmed_suspend) (
    PhoshDBusEndSessionDialog* object
  );
  
}

Virtual table for the D-Bus interface org.gnome.SessionManager.EndSessionDialog.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_open
gboolean (* handle_open) (
    PhoshDBusEndSessionDialog* object,
    GDBusMethodInvocation* invocation,
    guint arg_type,
    guint arg_timestamp,
    guint arg_seconds_to_stay_open,
    const gchar* const* arg_inhibitor_object_paths
  )
 No description available.
canceled
void (* canceled) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
closed
void (* closed) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_hibernate
void (* confirmed_hibernate) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_hybrid_sleep
void (* confirmed_hybrid_sleep) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_logout
void (* confirmed_logout) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_reboot
void (* confirmed_reboot) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_shutdown
void (* confirmed_shutdown) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.
confirmed_suspend
void (* confirmed_suspend) (
    PhoshDBusEndSessionDialog* object
  )
 No description available.

Virtual methods

Phosh.DBusEndSessionDialog.canceled
No description available.

since: 0

Phosh.DBusEndSessionDialog.closed
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_hibernate
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_hybrid_sleep
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_logout
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_reboot
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_shutdown
No description available.

since: 0

Phosh.DBusEndSessionDialog.confirmed_suspend
No description available.

since: 0

Phosh.DBusEndSessionDialog.handle_open
No description available.

since: 0