示例#1
0
文件: clist.py 项目: Limsik/e17
    def __init__(self, parent):
        Collapsable.__init__(self, parent)
        self._content_load()

        self._first = None
        self._items = {}
        self._selected = {}
        self.multi = False
示例#2
0
文件: clist.py 项目: yihan5523/e17
    def __init__(self, parent):
        Collapsable.__init__(self, parent)
        self._content_load()

        self._first = None
        self._items = {}
        self._selected = {}
        self.multi = False
示例#3
0
    def __init__(self, parent, editable_grp, operation_stack_cb,
            img_new_img_cb=None, img_list_get_cb=None,
            img_id_get_cb=None, workfile_name_get_cb=None):
        Collapsable.__init__(self, parent)

        self._parent = parent
        self._edit_grp = editable_grp
        self._operation_stack_cb = operation_stack_cb
        self._new_img_cb = img_new_img_cb
        self._img_list_get_cb = img_list_get_cb
        self._img_id_get_cb = img_id_get_cb
        self._workfile_name_get_cb = workfile_name_get_cb

        self._part_name = None
        self._part_type = None

        self._types_load()
        self._content_load()
        self._options_load()
示例#4
0
    def __init__(self,
                 parent,
                 editable_grp,
                 operation_stack_cb,
                 img_new_img_cb=None,
                 img_list_get_cb=None,
                 img_id_get_cb=None,
                 workfile_name_get_cb=None):
        Collapsable.__init__(self, parent)

        self._parent = parent
        self._edit_grp = editable_grp
        self._operation_stack_cb = operation_stack_cb
        self._new_img_cb = img_new_img_cb
        self._img_list_get_cb = img_list_get_cb
        self._img_id_get_cb = img_id_get_cb
        self._workfile_name_get_cb = workfile_name_get_cb

        self._part_name = None
        self._part_type = None

        self._types_load()
        self._content_load()
        self._options_load()
示例#5
0
文件: clist.py 项目: Limsik/e17
 def _closed_cb(self, obj, emission, source):
     Collapsable._closed_cb(self, obj, emission, source)
     self._list.disabled_set(True)
示例#6
0
文件: clist.py 项目: Limsik/e17
 def _opened_cb(self, obj, emission, source):
     Collapsable._opened_cb(self, obj, emission, source)
     self._list.disabled_set(False)
示例#7
0
 def _closed_cb(self, obj, emission, source):
     Collapsable._closed_cb(self, obj, emission, source)
     self._pager.disabled_set(True)
示例#8
0
 def _opened_cb(self, obj, emission, source):
     Collapsable._opened_cb(self, obj, emission, source)
     self._pager.disabled_set(False)