Am 2008-12-01 um 23:35 schrieb Ed Leafe:

>> Another DnD problem:
>>
>> I'd like my dGrid to receive dropped files, but neither implementing
>> processDroppedFiles nor setting DroppedFileHandler does anything.
>>
>> Any idea, what I could try?
>
>       I'm betting that this is because the grid is not a single control,
> but a bunch of renderers and editors. IOW, you're not dropping it on
> the grid, but on a rendered cell within the grid.

I thought such; but dGrid provides processDroppedFiles, therefore it  
should work...
And I wouldn't know how to add a drop handler to every cell.
That would also contradict my idea - for me, it would be enough if the  
whole main window would accept dropped files, it doesn't matter  
*where* they are dropped.

Perhaps you saw my thread on PythonMac-SIG: I'm writing a small tool  
to detect the type of a file, esp. for my colleagues who aren't able  
or willing to call "file" in a shell. One should just be able to drop  
a file (or several) anywhere on the app or its icon, it gets analyzed  
with different methods, and the results get displayed in a Grid. Next  
step is to correct wrong/missing extensions and types/creators.

I'm planning to release that as an example of using dabo for a simple  
GUI app without database - or perhaps I could hold the contents of the  
"magic" file in a SQLite db...

>
>       I'll try to dig into this tonight.

Thank you!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)






_______________________________________________
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]

Reply via email to