![]() |
![]() |
![]() |
eekboard Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#define EEKBOARD_SERVICE_PATH #define EEKBOARD_SERVICE_INTERFACE struct EekboardService; struct EekboardServiceClass; EekboardService * eekboard_service_new (GDBusConnection *connection
,const gchar *object_path
); EekboardServicePrivate;
"connection" GDBusConnection* : Read / Write / Construct "object-path" gchar* : Read / Write / Construct
The EekboardService class provides a base server side implementation of eekboard service.
struct EekboardService;
The EekboardService structure contains only private data and should only be accessed using the provided API.
struct EekboardServiceClass { EekboardContextService *(*create_context) (EekboardService *self, const gchar *client_name, const gchar *object_path); };
EekboardService * eekboard_service_new (GDBusConnection *connection
,const gchar *object_path
);
Create an empty server for testing purpose.
|
a GDBusConnection |
|
object path |
"connection"
property"connection" GDBusConnection* : Read / Write / Construct
D-Bus connection.
"object-path"
property"object-path" gchar* : Read / Write / Construct
D-Bus object path.
Default value: NULL
"destroyed"
signalvoid user_function (EekboardService *service,
gpointer user_data) : Run Last
The ::destroyed signal is emitted when the service is vanished.
|
an EekboardService |
|
user data set when the signal handler was connected. |