def __init__(self, parent): super().__init__(parent) self.pinned_columns = set() self._setupList() # List dragging setup self.listDragger = draglist.ListDragger(self.m_listCtrl) self.m_listCtrl.Bind(draglist.EVT_BEGIN_DRAG, self.OnDragBegin) self.m_listCtrl.Bind(draglist.EVT_DRAGGING, self.OnDragging) self.m_listCtrl.Bind(draglist.EVT_END_DRAG, self.OnDragEnd) TrackList.subscribe(self, self._refreshList)
def __init__(self, parent): super().__init__(parent) TrackList.subscribe(self, self._updateLayout, video=True) self.video_width = 1280 self.video_height = 720 self._updateVideoSize()