Fcitx.Connection

g Fcitx.Connection Fcitx.Connection GObject.Object GObject.Object GObject.Object->Fcitx.Connection

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_g_dbus_connection ()

is_valid ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

connected

Emit when connected to fcitx and created ic

disconnected

Emit when disconnected from fcitx

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Fcitx.Connection(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Fcitx.ConnectionClass

A Fcitx.Connection allow to create a input context via DBus

classmethod new()
Returns:

A newly allocated Fcitx.Connection

Return type:

Fcitx.Connection

New a Fcitx.Connection

get_g_dbus_connection()
Returns:

Gio.DBusConnection for current connection

Return type:

Gio.DBusConnection

Return the current Gio.DBusConnection

is_valid()
Returns:

Fcitx.Connection is valid or not

Return type:

bool

Check Fcitx.Connection is valid to communicate with Fcitx

Signal Details

Fcitx.Connection.signals.connected(connection)
Signal Name:

connected

Flags:

RUN_LAST

Parameters:

connection (Fcitx.Connection) – The object which received the signal

Emit when connected to fcitx and created ic

Fcitx.Connection.signals.disconnected(connection)
Signal Name:

disconnected

Flags:

RUN_LAST

Parameters:

connection (Fcitx.Connection) – The object which received the signal

Emit when disconnected from fcitx