Top | ![]() |
![]() |
![]() |
![]() |
GInterface ╰── PhoshGnomeShellDBusShell GObject ├── GDBusInterfaceSkeleton │ ╰── PhoshGnomeShellDBusShellSkeleton │ ╰── PhoshGnomeShellManager ╰── GDBusProxy ╰── PhoshGnomeShellDBusShellProxy
PhoshGnomeShellDBusShellProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshGnomeShellDBusShell.
PhoshGnomeShellDBusShellSkeleton implements GDBusInterface and PhoshGnomeShellDBusShell.
PhoshGnomeShellDBusShell is implemented by PhoshGnomeShellDBusShellProxy, PhoshGnomeShellDBusShellSkeleton and PhoshGnomeShellManager.
GDBusInterfaceInfo *
phosh_gnome_shell_dbus_shell_interface_info
(void
);
Gets a machine-readable description of the org.gnome.Shell D-Bus interface.
guint phosh_gnome_shell_dbus_shell_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshGnomeShellDBusShell interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void phosh_gnome_shell_dbus_shell_complete_show_monitor_labels (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the ShowMonitorLabels()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_hide_monitor_labels (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the HideMonitorLabels()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_show_osd (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the ShowOSD()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_grab_accelerator (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
,guint action
);
Helper function used in service implementations to finish handling invocations of the GrabAccelerator()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_grab_accelerators (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
,GVariant *actions
);
Helper function used in service implementations to finish handling invocations of the GrabAccelerators()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_ungrab_accelerator (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
,gboolean success
);
Helper function used in service implementations to finish handling invocations of the UngrabAccelerator()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_complete_ungrab_accelerators (PhoshGnomeShellDBusShell *object
,GDBusMethodInvocation *invocation
,gboolean success
);
Helper function used in service implementations to finish handling invocations of the UngrabAccelerators()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_gnome_shell_dbus_shell_emit_accelerator_activated (PhoshGnomeShellDBusShell *object
,guint arg_action
,GVariant *arg_parameters
);
Emits the "AcceleratorActivated" D-Bus signal.
void phosh_gnome_shell_dbus_shell_call_show_monitor_labels (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_params
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ShowMonitorLabels()
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_gnome_shell_dbus_shell_call_show_monitor_labels_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_show_monitor_labels_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_params |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_show_monitor_labels_finish (PhoshGnomeShellDBusShell *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_show_monitor_labels()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_show_monitor_labels_sync (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_params
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ShowMonitorLabels()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_show_monitor_labels()
for the asynchronous version of this method.
proxy |
||
arg_params |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_hide_monitor_labels (PhoshGnomeShellDBusShell *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the HideMonitorLabels()
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_gnome_shell_dbus_shell_call_hide_monitor_labels_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_hide_monitor_labels_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_hide_monitor_labels_finish (PhoshGnomeShellDBusShell *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_hide_monitor_labels()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_hide_monitor_labels_sync (PhoshGnomeShellDBusShell *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the HideMonitorLabels()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_hide_monitor_labels()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_show_osd (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_params
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ShowOSD()
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_gnome_shell_dbus_shell_call_show_osd_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_show_osd_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_params |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_show_osd_finish (PhoshGnomeShellDBusShell *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_show_osd()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_show_osd_sync (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_params
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ShowOSD()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_show_osd()
for the asynchronous version of this method.
proxy |
||
arg_params |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_grab_accelerator (PhoshGnomeShellDBusShell *proxy
,const gchar *arg_accelerator
,guint arg_modeFlags
,guint arg_grabFlags
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GrabAccelerator()
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_gnome_shell_dbus_shell_call_grab_accelerator_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_grab_accelerator_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_accelerator |
Argument to pass with the method invocation. |
|
arg_modeFlags |
Argument to pass with the method invocation. |
|
arg_grabFlags |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_grab_accelerator_finish (PhoshGnomeShellDBusShell *proxy
,guint *out_action
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_grab_accelerator()
.
proxy |
||
out_action |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_grab_accelerator_sync (PhoshGnomeShellDBusShell *proxy
,const gchar *arg_accelerator
,guint arg_modeFlags
,guint arg_grabFlags
,guint *out_action
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GrabAccelerator()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_grab_accelerator()
for the asynchronous version of this method.
proxy |
||
arg_accelerator |
Argument to pass with the method invocation. |
|
arg_modeFlags |
Argument to pass with the method invocation. |
|
arg_grabFlags |
Argument to pass with the method invocation. |
|
out_action |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_grab_accelerators (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_accelerators
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GrabAccelerators()
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_gnome_shell_dbus_shell_call_grab_accelerators_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_grab_accelerators_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_accelerators |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_grab_accelerators_finish (PhoshGnomeShellDBusShell *proxy
,GVariant **out_actions
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_grab_accelerators()
.
proxy |
||
out_actions |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_grab_accelerators_sync (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_accelerators
,GVariant **out_actions
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GrabAccelerators()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_grab_accelerators()
for the asynchronous version of this method.
proxy |
||
arg_accelerators |
Argument to pass with the method invocation. |
|
out_actions |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_ungrab_accelerator (PhoshGnomeShellDBusShell *proxy
,guint arg_action
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the UngrabAccelerator()
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_gnome_shell_dbus_shell_call_ungrab_accelerator_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_ungrab_accelerator_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_action |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_ungrab_accelerator_finish (PhoshGnomeShellDBusShell *proxy
,gboolean *out_success
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_ungrab_accelerator()
.
proxy |
||
out_success |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_ungrab_accelerator_sync (PhoshGnomeShellDBusShell *proxy
,guint arg_action
,gboolean *out_success
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the UngrabAccelerator()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_ungrab_accelerator()
for the asynchronous version of this method.
proxy |
||
arg_action |
Argument to pass with the method invocation. |
|
out_success |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_gnome_shell_dbus_shell_call_ungrab_accelerators (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_action
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the UngrabAccelerators()
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_gnome_shell_dbus_shell_call_ungrab_accelerators_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_call_ungrab_accelerators_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_action |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_gnome_shell_dbus_shell_call_ungrab_accelerators_finish (PhoshGnomeShellDBusShell *proxy
,gboolean *out_success
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_call_ungrab_accelerators()
.
proxy |
||
out_success |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_gnome_shell_dbus_shell_call_ungrab_accelerators_sync (PhoshGnomeShellDBusShell *proxy
,GVariant *arg_action
,gboolean *out_success
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the UngrabAccelerators()
proxy
. The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_call_ungrab_accelerators()
for the asynchronous version of this method.
proxy |
||
arg_action |
Argument to pass with the method invocation. |
|
out_success |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
const gchar *
phosh_gnome_shell_dbus_shell_get_shell_version
(PhoshGnomeShellDBusShell *object
);
Gets the value of the "ShellVersion" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use phosh_gnome_shell_dbus_shell_dup_shell_version()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar *
phosh_gnome_shell_dbus_shell_dup_shell_version
(PhoshGnomeShellDBusShell *object
);
Gets a copy of the "ShellVersion" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void phosh_gnome_shell_dbus_shell_set_shell_version (PhoshGnomeShellDBusShell *object
,const gchar *value
);
Sets the "ShellVersion" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
[skip]
void phosh_gnome_shell_dbus_shell_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.gnome.Shell. See g_dbus_proxy_new()
for more details.
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_gnome_shell_dbus_shell_proxy_new_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshGnomeShellDBusShell * phosh_gnome_shell_dbus_shell_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshGnomeShellDBusShellProxy]
PhoshGnomeShellDBusShell * phosh_gnome_shell_dbus_shell_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.gnome.Shell. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshGnomeShellDBusShellProxy]
void phosh_gnome_shell_dbus_shell_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_gnome_shell_dbus_shell_proxy_new()
but takes a GBusType instead of a GDBusConnection.
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_gnome_shell_dbus_shell_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_gnome_shell_dbus_shell_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshGnomeShellDBusShell * phosh_gnome_shell_dbus_shell_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_gnome_shell_dbus_shell_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshGnomeShellDBusShellProxy]
PhoshGnomeShellDBusShell * phosh_gnome_shell_dbus_shell_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_gnome_shell_dbus_shell_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_gnome_shell_dbus_shell_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshGnomeShellDBusShellProxy]
PhoshGnomeShellDBusShell *
phosh_gnome_shell_dbus_shell_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.gnome.Shell.
struct PhoshGnomeShellDBusShellIface { GTypeInterface parent_iface; gboolean (*handle_grab_accelerator) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, const gchar *arg_accelerator, guint arg_modeFlags, guint arg_grabFlags); gboolean (*handle_grab_accelerators) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_accelerators); gboolean (*handle_hide_monitor_labels) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation); gboolean (*handle_show_monitor_labels) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_params); gboolean (*handle_show_osd) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_params); gboolean (*handle_ungrab_accelerator) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, guint arg_action); gboolean (*handle_ungrab_accelerators) ( PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_action); const gchar * (*get_shell_version) (PhoshGnomeShellDBusShell *object); void (*accelerator_activated) ( PhoshGnomeShellDBusShell *object, guint arg_action, GVariant *arg_parameters); };
Virtual table for the D-Bus interface org.gnome.Shell.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-grab-accelerator” signal. |
||
Handler for the “handle-grab-accelerators” signal. |
||
Handler for the “handle-hide-monitor-labels” signal. |
||
Handler for the “handle-show-monitor-labels” signal. |
||
Handler for the “handle-show-osd” signal. |
||
Handler for the “handle-ungrab-accelerator” signal. |
||
Handler for the “handle-ungrab-accelerators” signal. |
||
Getter for the “shell-version” property. |
||
Handler for the “accelerator-activated” signal. |
struct PhoshGnomeShellDBusShellProxy;
The PhoshGnomeShellDBusShellProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshGnomeShellDBusShellProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshGnomeShellDBusShellProxy.
struct PhoshGnomeShellDBusShellSkeleton;
The PhoshGnomeShellDBusShellSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshGnomeShellDBusShellSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshGnomeShellDBusShellSkeleton.
typedef struct _PhoshGnomeShellDBusShell PhoshGnomeShellDBusShell;
Abstract interface type for the D-Bus interface org.gnome.Shell.
typedef struct _PhoshGnomeShellDBusShellProxyPrivate PhoshGnomeShellDBusShellProxyPrivate;
“shell-version”
property “shell-version” char *
Represents the D-Bus property "ShellVersion".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: PhoshGnomeShellDBusShell
Flags: Read / Write
Default value: NULL
“accelerator-activated”
signalvoid user_function (PhoshGnomeShellDBusShell *object, guint arg_action, GVariant *arg_parameters, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "AcceleratorActivated" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_action |
Argument. |
|
arg_parameters |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-grab-accelerator”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, char *arg_accelerator, guint arg_modeFlags, guint arg_grabFlags, gpointer user_data)
Signal emitted when a remote caller is invoking the GrabAccelerator()
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_gnome_shell_dbus_shell_complete_grab_accelerator()
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.
object |
||
invocation |
||
arg_accelerator |
Argument passed by remote caller. |
|
arg_modeFlags |
Argument passed by remote caller. |
|
arg_grabFlags |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-grab-accelerators”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_accelerators, gpointer user_data)
Signal emitted when a remote caller is invoking the GrabAccelerators()
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_gnome_shell_dbus_shell_complete_grab_accelerators()
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.
object |
||
invocation |
||
arg_accelerators |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-hide-monitor-labels”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the HideMonitorLabels()
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_gnome_shell_dbus_shell_complete_hide_monitor_labels()
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.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-show-monitor-labels”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_params, gpointer user_data)
Signal emitted when a remote caller is invoking the ShowMonitorLabels()
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_gnome_shell_dbus_shell_complete_show_monitor_labels()
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.
object |
||
invocation |
||
arg_params |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-show-osd”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_params, gpointer user_data)
Signal emitted when a remote caller is invoking the ShowOSD()
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_gnome_shell_dbus_shell_complete_show_osd()
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.
object |
||
invocation |
||
arg_params |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-ungrab-accelerator”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, guint arg_action, gpointer user_data)
Signal emitted when a remote caller is invoking the UngrabAccelerator()
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_gnome_shell_dbus_shell_complete_ungrab_accelerator()
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.
object |
||
invocation |
||
arg_action |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-ungrab-accelerators”
signalgboolean user_function (PhoshGnomeShellDBusShell *object, GDBusMethodInvocation *invocation, GVariant *arg_action, gpointer user_data)
Signal emitted when a remote caller is invoking the UngrabAccelerators()
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_gnome_shell_dbus_shell_complete_ungrab_accelerators()
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.
object |
||
invocation |
||
arg_action |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last