florian wrote: >hi! > >im wondering if its possible to receive files dragged from >nautilus on some gtk widget. should be possible, or? > >but how do i managed it? when i drag some files from nautilus >on a row in a treeview. how do i figure out the filename and >all that stuff. does anybody have a example or some small >tips? i would appreciate.. > > Nautilus uses "text/uri-list" as the target type for its drags, so just say that you accept drags of that type. The format of the data in a text/uri-list drag is simply a '\r\n' separated list of uris.
James. -- Email: [EMAIL PROTECTED] | Linux.conf.au http://linux.conf.au/ WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
