EekboardClient

EekboardClient — client interface of eekboard service

Functions

Signals

void destroyed Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── GDBusProxy
        ╰── EekboardClient

Implemented Interfaces

EekboardClient implements GDBusInterface, GInitable and GAsyncInitable.

Description

The EekboardClient class provides a client side access to eekboard-server.

Functions

eekboard_client_new ()

EekboardClient *
eekboard_client_new (GDBusConnection *connection,
                     GCancellable *cancellable);

Create a client.

Parameters

connection

a GDBusConnection

 

cancellable

a GCancellable

 

eekboard_client_create_context ()

EekboardContext *
eekboard_client_create_context (EekboardClient *eekboard,
                                const gchar *client_name,
                                GCancellable *cancellable);

Create a new input context.

Parameters

eekboard

an EekboardClient

 

client_name

name of the client

 

cancellable

a GCancellable

 

Returns

a newly created EekboardContext.

[transfer full]


eekboard_client_push_context ()

void
eekboard_client_push_context (EekboardClient *eekboard,
                              EekboardContext *context,
                              GCancellable *cancellable);

Enable the input context context and disable the others.

Parameters

eekboard

an EekboardClient

 

context

an EekboardContext

 

cancellable

a GCancellable

 

eekboard_client_pop_context ()

void
eekboard_client_pop_context (EekboardClient *eekboard,
                             GCancellable *cancellable);

Disable the current input context and enable the previous one.

Parameters

eekboard

an EekboardClient

 

cancellable

a GCancellable

 

eekboard_client_destroy_context ()

void
eekboard_client_destroy_context (EekboardClient *eekboard,
                                 EekboardContext *context,
                                 GCancellable *cancellable);

Remove context from eekboard .

Parameters

eekboard

an EekboardClient

 

context

an EekboardContext

 

cancellable

a GCancellable

 

Types and Values

struct EekboardClient

struct EekboardClient;

struct EekboardClientClass

struct EekboardClientClass {
};

EekboardClientPrivate

typedef struct _EekboardClientPrivate EekboardClientPrivate;

Signal Details

The “destroyed” signal

void
user_function (EekboardClient *eekboard,
               gpointer        user_data)

The ::destroyed signal is emitted each time the name of remote end is vanished.

Parameters

eekboard

an EekboardClient

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last