Beispiel #1
0
def _cut():
    global focused_widget
    if not _can_remove() or focused_widget.klass == "sizerslot":
        wx.Bell()
        return
    clipboard.cut(focused_widget)
Beispiel #2
0
 def clipboard_cut(self, *args):
     import clipboard
     clipboard.cut(self)
Beispiel #3
0
def _cut():
    global focused_widget
    if not _can_remove():
        wx.Bell()
        return
    clipboard.cut(focused_widget)
Beispiel #4
0
 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])
Beispiel #5
0
 def clipboard_cut(self, *args):
     import clipboard
     clipboard.cut(self)
 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)