On Nov 29, 2008, at 11:28 AM, Henning Hraban Ramm wrote:
> I'd like to make my dabo application a drop target for files i.e.
> 1. DnD on the icon
> 2. DnD on the main window
The main window is simple enough: set the window's DroppedFileHandler
property to the object that will handle the dropped files, and write
your code in that object's processDroppedFiles() method. That method
will receive a list of the files that have been dropped. The dImage
script in DaboDemo has a good example of handling dropped files.
For the icon I'm not exactly sure what you'll need. If you create
an .app file using py2app, files dropped on the icon will be passed as
arguments to the main script of your app. I'm not sure what will
happen with files dropped on an app's icon when the app is already
running, as I've never tried it.
> BTW the Google search in the wiki searches the whole domain
> dabodev.com, i.e. finds mostly svn entries.
That seems to be the way that ZWiki works. That's why I use the
regular wiki search when I want to find something in the wiki.
> Additionally I got proxy errors from the wiki several times today.
Not sure why - I've checked the logs and there were no interruptions
or downtimes today.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]