Top | ![]() |
![]() |
![]() |
![]() |
GInterface ├── PhoshOsk0Object ╰── PhoshOsk0SmPuriOSK0 GObject ├── GDBusInterfaceSkeleton │ ╰── PhoshOsk0SmPuriOSK0Skeleton ├── GDBusObjectManagerClient │ ╰── PhoshOsk0ObjectManagerClient ├── GDBusObjectProxy │ ╰── PhoshOsk0ObjectProxy ├── GDBusObjectSkeleton │ ╰── PhoshOsk0ObjectSkeleton ╰── GDBusProxy ╰── PhoshOsk0SmPuriOSK0Proxy
PhoshOsk0Object requires GDBusObject and GObject.
PhoshOsk0SmPuriOSK0 requires GObject.
PhoshOsk0SmPuriOSK0Proxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshOsk0SmPuriOSK0.
PhoshOsk0SmPuriOSK0Skeleton implements GDBusInterface and PhoshOsk0SmPuriOSK0.
PhoshOsk0ObjectProxy implements GDBusObject and PhoshOsk0Object.
PhoshOsk0ObjectSkeleton implements GDBusObject and PhoshOsk0Object.
PhoshOsk0ObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.
PhoshOsk0Object is implemented by PhoshOsk0ObjectProxy and PhoshOsk0ObjectSkeleton.
PhoshOsk0SmPuriOSK0 is implemented by PhoshOsk0SmPuriOSK0Proxy and PhoshOsk0SmPuriOSK0Skeleton.
GDBusInterfaceInfo *
phosh_osk0_sm_puri_osk0_interface_info
(void
);
Gets a machine-readable description of the sm.puri.OSK0 D-Bus interface.
guint phosh_osk0_sm_puri_osk0_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshOsk0SmPuriOSK0 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_osk0_sm_puri_osk0_complete_set_visible (PhoshOsk0SmPuriOSK0 *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the SetVisible()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_osk0_sm_puri_osk0_call_set_visible (PhoshOsk0SmPuriOSK0 *proxy
,gboolean arg_unnamed_arg0
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetVisible()
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.
You can then call phosh_osk0_sm_puri_osk0_call_set_visible_finish()
to get the result of the operation.
See phosh_osk0_sm_puri_osk0_call_set_visible_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_unnamed_arg0 |
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_osk0_sm_puri_osk0_call_set_visible_finish (PhoshOsk0SmPuriOSK0 *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_osk0_sm_puri_osk0_call_set_visible()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_osk0_sm_puri_osk0_call_set_visible_sync (PhoshOsk0SmPuriOSK0 *proxy
,gboolean arg_unnamed_arg0
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetVisible()
proxy
. The calling thread is blocked until a reply is received.
See phosh_osk0_sm_puri_osk0_call_set_visible()
for the asynchronous version of this method.
proxy |
||
arg_unnamed_arg0 |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
gboolean
phosh_osk0_sm_puri_osk0_get_visible (PhoshOsk0SmPuriOSK0 *object
);
Gets the value of the "Visible" 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_osk0_sm_puri_osk0_set_visible (PhoshOsk0SmPuriOSK0 *object
,gboolean value
);
Sets the "Visible" 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_osk0_sm_puri_osk0_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 sm.puri.OSK0. 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.
You can then call phosh_osk0_sm_puri_osk0_proxy_new_finish()
to get the result of the operation.
See phosh_osk0_sm_puri_osk0_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 |
PhoshOsk0SmPuriOSK0 * phosh_osk0_sm_puri_osk0_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_osk0_sm_puri_osk0_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 PhoshOsk0SmPuriOSK0Proxy]
PhoshOsk0SmPuriOSK0 * phosh_osk0_sm_puri_osk0_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 sm.puri.OSK0. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_osk0_sm_puri_osk0_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 PhoshOsk0SmPuriOSK0Proxy]
void phosh_osk0_sm_puri_osk0_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_osk0_sm_puri_osk0_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.
You can then call phosh_osk0_sm_puri_osk0_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_osk0_sm_puri_osk0_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 |
PhoshOsk0SmPuriOSK0 * phosh_osk0_sm_puri_osk0_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_osk0_sm_puri_osk0_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 PhoshOsk0SmPuriOSK0Proxy]
PhoshOsk0SmPuriOSK0 * phosh_osk0_sm_puri_osk0_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_osk0_sm_puri_osk0_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_osk0_sm_puri_osk0_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 PhoshOsk0SmPuriOSK0Proxy]
PhoshOsk0SmPuriOSK0 *
phosh_osk0_sm_puri_osk0_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface sm.puri.OSK0.
PhoshOsk0SmPuriOSK0 *
phosh_osk0_object_get_sm_puri_osk0 (PhoshOsk0Object *object
);
Gets the PhoshOsk0SmPuriOSK0 instance for the D-Bus interface sm.puri.OSK0 on object
, if any.
A PhoshOsk0SmPuriOSK0 that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
PhoshOsk0SmPuriOSK0 *
phosh_osk0_object_peek_sm_puri_osk0 (PhoshOsk0Object *object
);
Like phosh_osk0_object_get_sm_puri_osk0()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A PhoshOsk0SmPuriOSK0 or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
PhoshOsk0ObjectProxy * phosh_osk0_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
PhoshOsk0ObjectSkeleton *
phosh_osk0_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
void phosh_osk0_object_skeleton_set_sm_puri_osk0 (PhoshOsk0ObjectSkeleton *object
,PhoshOsk0SmPuriOSK0 *interface_
);
Sets the PhoshOsk0SmPuriOSK0 instance for the D-Bus interface sm.puri.OSK0 on object
.
GType phosh_osk0_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager
,const gchar *object_path
,const gchar *interface_name
,gpointer user_data
);
A GDBusProxyTypeFunc that maps interface_name
to the generated GDBusObjectProxy derived and GDBusProxy derived types.
A GDBusProxy derived GType if interface_name
is not NULL
, otherwise the GType for PhoshOsk0ObjectProxy.
void phosh_osk0_object_manager_client_new (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates GDBusObjectManagerClient using phosh_osk0_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_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.
You can then call phosh_osk0_object_manager_client_new_finish()
to get the result of the operation.
See phosh_osk0_object_manager_client_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags 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 |
GDBusObjectManager * phosh_osk0_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_osk0_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshOsk0ObjectManagerClient]
GDBusObjectManager * phosh_osk0_object_manager_client_new_sync (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates GDBusObjectManagerClient using phosh_osk0_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_osk0_object_manager_client_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags 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 object manager client or NULL
if error
is set.
[transfer full][type PhoshOsk0ObjectManagerClient]
void phosh_osk0_object_manager_client_new_for_bus (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_osk0_object_manager_client_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.
You can then call phosh_osk0_object_manager_client_new_for_bus_finish()
to get the result of the operation.
See phosh_osk0_object_manager_client_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusObjectManagerClientFlags 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 |
GDBusObjectManager * phosh_osk0_object_manager_client_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_osk0_object_manager_client_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshOsk0ObjectManagerClient]
GDBusObjectManager * phosh_osk0_object_manager_client_new_for_bus_sync (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_osk0_object_manager_client_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_osk0_object_manager_client_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusObjectManagerClientFlags 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 object manager client or NULL
if error
is set.
[transfer full][type PhoshOsk0ObjectManagerClient]
struct PhoshOsk0SmPuriOSK0Iface { GTypeInterface parent_iface; gboolean (*handle_set_visible) ( PhoshOsk0SmPuriOSK0 *object, GDBusMethodInvocation *invocation, gboolean arg_unnamed_arg0); gboolean (*get_visible) (PhoshOsk0SmPuriOSK0 *object); };
Virtual table for the D-Bus interface sm.puri.OSK0.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-set-visible” signal. |
||
Getter for the “visible” property. |
struct PhoshOsk0SmPuriOSK0Proxy;
The PhoshOsk0SmPuriOSK0Proxy structure contains only private data and should only be accessed using the provided API.
struct PhoshOsk0SmPuriOSK0ProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshOsk0SmPuriOSK0Proxy.
struct PhoshOsk0SmPuriOSK0Skeleton;
The PhoshOsk0SmPuriOSK0Skeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshOsk0SmPuriOSK0SkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshOsk0SmPuriOSK0Skeleton.
struct PhoshOsk0ObjectIface { GTypeInterface parent_iface; };
Virtual table for the PhoshOsk0Object interface.
struct PhoshOsk0ObjectProxy;
The PhoshOsk0ObjectProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshOsk0ObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for PhoshOsk0ObjectProxy.
struct PhoshOsk0ObjectSkeleton;
The PhoshOsk0ObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshOsk0ObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for PhoshOsk0ObjectSkeleton.
struct PhoshOsk0ObjectManagerClient;
The PhoshOsk0ObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct PhoshOsk0ObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for PhoshOsk0ObjectManagerClient.
typedef struct _PhoshOsk0Object PhoshOsk0Object;
The PhoshOsk0Object type is a specialized container of interfaces.
typedef struct _PhoshOsk0ObjectManagerClientPrivate PhoshOsk0ObjectManagerClientPrivate;
typedef struct _PhoshOsk0ObjectProxyPrivate PhoshOsk0ObjectProxyPrivate;
typedef struct _PhoshOsk0ObjectSkeletonPrivate PhoshOsk0ObjectSkeletonPrivate;
typedef struct _PhoshOsk0SmPuriOSK0 PhoshOsk0SmPuriOSK0;
Abstract interface type for the D-Bus interface sm.puri.OSK0.
typedef struct _PhoshOsk0SmPuriOSK0ProxyPrivate PhoshOsk0SmPuriOSK0ProxyPrivate;
“sm-puri-osk0”
property“sm-puri-osk0” PhoshOsk0SmPuriOSK0 *
The PhoshOsk0SmPuriOSK0 instance corresponding to the D-Bus interface sm.puri.OSK0, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
“visible”
property“visible” gboolean
Represents the D-Bus property "Visible".
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.
Flags: Read / Write
Default value: FALSE
“handle-set-visible”
signalgboolean user_function (PhoshOsk0SmPuriOSK0 *object, GDBusMethodInvocation *invocation, gboolean arg_unnamed_arg0, gpointer user_data)
Signal emitted when a remote caller is invoking the SetVisible()
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_osk0_sm_puri_osk0_complete_set_visible()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_unnamed_arg0 |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last