class TextBufferModelMT (with_metaclass( metaclasses.ObservablePropertyGObjectMetaMT, ModelMT, Gtk.TextBuffer)): """Use this class as base class for your model derived by Gtk.TextBuffer""" def __init__(self, table=None): ModelMT.__init__(self) Gtk.TextBuffer.__init__(self, table)
class ListStoreModelMT (with_metaclass( metaclasses.ObservablePropertyGObjectMetaMT, ModelMT, Gtk.ListStore)): """Use this class as base class for your model derived by Gtk.ListStore""" def __init__(self, column_type, *args): ModelMT.__init__(self) Gtk.ListStore.__init__(self, column_type, *args)
class TreeStoreModel ( with_metaclass(metaclasses.ObservablePropertyGObjectMeta, Model, Gtk.TreeStore)): """Use this class as base class for your model derived by Gtk.TreeStore""" def __init__(self, column_type, *args): Gtk.TreeStore.__init__(self, column_type, *args) Model.__init__(self)