def _cut(): global focused_widget if not _can_remove() or focused_widget.klass == "sizerslot": wx.Bell() return clipboard.cut(focused_widget)
def clipboard_cut(self, *args): import clipboard clipboard.cut(self)
def _cut(): global focused_widget if not _can_remove(): wx.Bell() return clipboard.cut(focused_widget)
def clipboard_cut(self): files = self.list.get_selected_filenames() if files: clipboard.cut(files) #[os.path.join(self.path, f) for f in files])
def clipboard_cut(self, event=None): "Store a copy of self into the clipboard and delete the widget; @see: L{clipboard.cut()}" self._destroy_popup_menu() clipboard.cut(self)