EekboardClient

## EekboardClient EekboardClient — client interface of eekboard service |

## Synopsis

    struct              EekboardClient;
    struct              EekboardClientClass;
    EekboardClient *    eekboard_client_new                 (GDBusConnection *connection,
                                                             GCancellable *cancellable);
    EekboardContext *   eekboard_client_create_context      (EekboardClient *eekboard,
                                                             const gchar *client_name,
                                                             GCancellable *cancellable);
    void                eekboard_client_push_context        (EekboardClient *eekboard,
                                                             EekboardContext *context,
                                                             GCancellable *cancellable);
    void                eekboard_client_pop_context         (EekboardClient *eekboard,
                                                             GCancellable *cancellable);
    void                eekboard_client_destroy_context     (EekboardClient *eekboard,
                                                             EekboardContext *context,
                                                             GCancellable *cancellable);
                        EekboardClientPrivate;

## Object Hierarchy

      GObject
       +----GDBusProxy
             +----EekboardClient

## Implemented Interfaces

EekboardClient implements GDBusInterface, GInitable and GAsyncInitable.

## Signals

      "destroyed"                                      : Run Last

## Description

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

## Details

### struct EekboardClient

    struct EekboardClient;

### struct EekboardClientClass

    struct EekboardClientClass {
    };

### eekboard_client_new ()

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

Create a client.

`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.

`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.

`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.

`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`.

`eekboard` : | an EekboardClient
`context` : | an EekboardContext
`cancellable` : | a GCancellable

### EekboardClientPrivate

    typedef struct _EekboardClientPrivate EekboardClientPrivate;

## Signal Details

### The `"destroyed"` signal

    void                user_function                      (EekboardClient *eekboard,
                                                            gpointer        user_data)      : Run Last

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

`eekboard` : | an EekboardClient
`user_data` : | user data set when the signal handler was connected.