def on_menuEditCopy_select(self, event): widget = self.findFocus() if hasattr(widget, 'editable') and widget.canCopy(): widget.copy() else: clipboard.setClipboard(self.components.bufOff.getBitmap())
def on_menuEditCopy_select(self, event): clipboard.setClipboard(self.components.bufOff.getBitmap())