Interface
AtspiDBusShellIntrospect
Description [src]
interface Atspi.DBusShellIntrospect : GObject.Object
Abstract interface type for the D-Bus interface org.gnome.Shell.Introspect.
Prerequisite
In order to implement DBusShellIntrospect, your type must inherit fromGObject
.
Functions
atspi_dbus_shell_introspect_interface_info
Gets a machine-readable description of the org.gnome.Shell.Introspect D-Bus interface.
atspi_dbus_shell_introspect_override_properties
Overrides all GObject
properties in the AtspiDBusShellIntrospect
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
atspi_dbus_shell_introspect_call_get_running_applications
Asynchronously invokes the GetRunningApplications() 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 atspi_dbus_shell_introspect_call_get_running_applications_finish()
to get the result of the operation.
atspi_dbus_shell_introspect_call_get_running_applications_finish
Finishes an operation started with atspi_dbus_shell_introspect_call_get_running_applications().
atspi_dbus_shell_introspect_call_get_running_applications_sync
Synchronously invokes the GetRunningApplications() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
atspi_dbus_shell_introspect_call_get_windows
Asynchronously invokes the GetWindows() 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 atspi_dbus_shell_introspect_call_get_windows_finish()
to get the result of the operation.
atspi_dbus_shell_introspect_call_get_windows_finish
Finishes an operation started with atspi_dbus_shell_introspect_call_get_windows().
atspi_dbus_shell_introspect_call_get_windows_sync
Synchronously invokes the GetWindows() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
atspi_dbus_shell_introspect_complete_get_running_applications
Helper function used in service implementations to finish handling invocations of the GetRunningApplications() 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.
atspi_dbus_shell_introspect_complete_get_windows
Helper function used in service implementations to finish handling invocations of the GetWindows() 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.
atspi_dbus_shell_introspect_emit_running_applications_changed
Emits the “RunningApplicationsChanged” D-Bus signal.
atspi_dbus_shell_introspect_get_animations_enabled
Gets the value of the “AnimationsEnabled” D-Bus property.
atspi_dbus_shell_introspect_set_animations_enabled
Sets the “AnimationsEnabled” D-Bus property to value
.
Signals
Atspi.DBusShellIntrospect::handle-get-running-applications
Signal emitted when a remote caller is invoking the GetRunningApplications() D-Bus method.
Atspi.DBusShellIntrospect::handle-get-windows
Signal emitted when a remote caller is invoking the GetWindows() D-Bus method.
Atspi.DBusShellIntrospect::running-applications-changed
On the client-side, this signal is emitted whenever the D-Bus signal “RunningApplicationsChanged” is received.
Atspi.DBusShellIntrospect::windows-changed
On the client-side, this signal is emitted whenever the D-Bus signal “WindowsChanged” is received.
Interface structure
struct AtspiDBusShellIntrospectIface {
GTypeInterface parent_iface;
gboolean (* handle_get_running_applications) (
AtspiDBusShellIntrospect* object,
GDBusMethodInvocation* invocation
);
gboolean (* handle_get_windows) (
AtspiDBusShellIntrospect* object,
GDBusMethodInvocation* invocation
);
gboolean (* get_animations_enabled) (
AtspiDBusShellIntrospect* object
);
GVariant* (* get_screen_size) (
AtspiDBusShellIntrospect* object
);
guint (* get_version) (
AtspiDBusShellIntrospect* object
);
void (* running_applications_changed) (
AtspiDBusShellIntrospect* object
);
void (* windows_changed) (
AtspiDBusShellIntrospect* object
);
}
Virtual table for the D-Bus interface org.gnome.Shell.Introspect.
Interface members
parent_iface |
|
The parent interface. |
|
handle_get_running_applications |
|
No description available. | |
handle_get_windows |
|
No description available. | |
get_animations_enabled |
|
No description available. | |
get_screen_size |
|
No description available. | |
get_version |
|
No description available. | |
running_applications_changed |
|
No description available. | |
windows_changed |
|
No description available. |
Virtual methods
Atspi.DBusShellIntrospect.get_animations_enabled
Gets the value of the “AnimationsEnabled” D-Bus property.