On Fri, 2007-03-16 at 01:36 -0400, Edward A Robinson wrote: > On 3/15/07, Ed Catmur <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-03-15 at 15:28 -0400, Edward A Robinson wrote: > > > Also how would I get cut and paste to work so that I can cut a file > > > from my image browser then paste it into nautilus. I know how to get > > > it to work for basic text but not for files. > > Use gtk.Clipboard.set_with_data with > > targets=gtk.target_list_add_uri_targets(); see gtk.SelectionData. > > > My problem isent cutting and pasting of text but doing it so that I > can cut a file and paste it into nautilus
By placing an item on the clipboard with a uri target, nautilus will view pasting that target as a command to copy/paste the file that uri points to. Ed _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
