ATTR_UNDERLINE_LOW = 3
class Attribute(Serializable):
- __gtype_name__ = "IBusAttribute"
+ __gtype_name__ = "PYIBusAttribute"
__NAME__ = "IBusAttribute"
def __init__ (self, type=0, value=0, start_index=0, end_index=0):
super(Attribute, self).__init__()
return ARGB (255, r, g, b)
class AttrList(Serializable):
- __gtype_name__ = "IBusAttrList"
+ __gtype_name__ = "PYIBusAttrList"
__NAME__ = "IBusAttrList"
def __init__ (self, attrs = []):
super(AttrList, self).__init__()
dbus.mainloop.glib.DBusGMainLoop(set_as_default = True)
class Bus(object.Object):
- __gtype_name__ = "IBusBus"
+ __gtype_name__ = "PYIBusBus"
__gsignals__ = {
"disconnected" : (
gobject.SIGNAL_RUN_LAST,
from observedpath import *
class Component(Serializable):
- __gtype_name__ = "IBusComponent"
+ __gtype_name__ = "PYIBusComponent"
__NAME__ = "IBusComponent"
def __init__ (self, name="", description="", version="", license="", author="", homepage="", _exec="", textdomain=""):
super(Component, self).__init__()
self.__config.destroy()
class Config(object.Object):
- __gtype_name__ = "IBusConfig"
+ __gtype_name__ = "PYIBusConfig"
__gsignals__ = {
"reloaded" : (
gobject.SIGNAL_RUN_LAST,
from serializable import *
class EngineDesc(Serializable):
- __gtype_name__ = "IBusEngineDesc"
+ __gtype_name__ = "PYIBusEngineDesc"
__NAME__ = "IBusEngineDesc"
def __init__ (self, name="", longname="", description="", language="", license="", author="", icon="", layout=""):
super(EngineDesc, self).__init__()
self.remove_from_connection ()
class FactoryInfo(Serializable):
- __gtype_name__ = "IBusFactoryInfo"
+ __gtype_name__ = "PYIBusFactoryInfo"
__NAME__ = "IBusFactoryInfo"
def __init__ (self, path=None, name=None, lang=None, icon=None, authors=None, credits=None):
super(FactoryInfo, self).__init__()
import serializable
class InputContext(object.Object):
- __gtype_name__ = "IBusInputContext"
+ __gtype_name__ = "PYIBusInputContext"
__gsignals__ = {
"commit-text" : (
gobject.SIGNAL_RUN_LAST,
from exception import *
class LookupTable(Serializable):
- __gtype_name__ = "IBusLookupTable"
+ __gtype_name__ = "PYIBusLookupTable"
__NAME__ = "IBusLookupTable"
def __init__(self, page_size=5, cursor_pos=0, coursor_visible=True, round=False, candidates=None, labels=None):
super(LookupTable, self).__init__()
import gobject
class Object(gobject.GObject):
- __gtype_name__ = "IBusObject"
+ __gtype_name__ = "PYIBusObject"
__gsignals__ = {
'destroy' : (
gobject.SIGNAL_RUN_LAST,
from serializable import *
class ObservedPath(Serializable):
- __gtype_name__ = "IBusObservedPath"
+ __gtype_name__ = "PYIBusObservedPath"
__NAME__ = "IBusObservedPath"
def __init__ (self, path="", mtime=0):
super(ObservedPath, self).__init__()
return Text(text)
class Property(Serializable):
- __gtype_name__ = "IBusProperty"
+ __gtype_name__ = "PYIBusProperty"
__NAME__ = "IBusProperty"
def __init__(self, key="", type=PROP_TYPE_NORMAL, label=u"", icon=u"", tooltip=u"",
sensitive=True, visible=True, state=PROP_STATE_UNCHECKED):
self.__sub_props = deserialize_object(props)
class PropList(Serializable):
- __gtype_name__ = "IBusPropList"
+ __gtype_name__ = "PYIBusPropList"
__NAME__ = "IBusPropList"
def __init__(self):
super(PropList, self).__init__()
class Serializable(Object):
__metaclass__ = SerializableMeta
- __gtype_name__ = "IBusSerializable"
+ __gtype_name__ = "PYIBusSerializable"
__NAME__ = "IBusSerializable"
def __init__(self):
super(Serializable, self).__init__()
from attribute import AttrList
class Text(Serializable):
- __gtype_name__ = "IBusText"
+ __gtype_name__ = "PYIBusText"
__NAME__ = "IBusText"
def __init__ (self, text="", attrs=None):
super(Text, self).__init__()