def __init__(self, parent): Collapsable.__init__(self, parent) self._content_load() self._first = None self._items = {} self._selected = {} self.multi = False
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()
def _closed_cb(self, obj, emission, source): Collapsable._closed_cb(self, obj, emission, source) self._list.disabled_set(True)
def _opened_cb(self, obj, emission, source): Collapsable._opened_cb(self, obj, emission, source) self._list.disabled_set(False)
def _closed_cb(self, obj, emission, source): Collapsable._closed_cb(self, obj, emission, source) self._pager.disabled_set(True)
def _opened_cb(self, obj, emission, source): Collapsable._opened_cb(self, obj, emission, source) self._pager.disabled_set(False)