def clickItem(self, widget, event): '''Click item.''' if utils.isDoubleClick(event): self.entryDetailView() else: self.setSelectIndex(self.index)
def clickItem(self, widget, event): '''Click item.''' if utils.isDoubleClick(event): self.entryDetailCallback(PAGE_UNINSTALL, self.appInfo) else: self.setSelectIndex(self.index)
def clickItem(widget, event, entryDetailCallback, appInfo): '''Click item.''' if utils.isDoubleClick(event): entryDetailCallback(PAGE_RECOMMEND, appInfo)
def doubleClickWindow(self, widget, event): '''Handle double click on window.''' if utils.isDoubleClick(event): self.toggleWindow()