Hi,

The problem I had was fixed following the suggestions of Pascal and  
it's coming along just fine, there is some work pending, but it looks  
good.

In Mac the procedure ::tk::mac::OpenDocument is called when a D&D or  
double click on a file occurs, so I only have to implement it and do  
some minor changes to Scid.app (thanks to Garth for making the App  
bundle! available). I read that tkOpenDocument is called on Windows,  
but I don't know anything about Unix.

I'll do some research and let you know what I found.

The problem with sc_remote is that it uses "send" to communicate with  
the running instance of Scid and it doesn't work on Mac (neither does  
on Windows, if I recall correctly).

Israel

On Aug 11, 2008, at 12:33 AM, Alexander Wagner wrote:

> Israel Chauca schrieb:
>
> Hi!
>
>> I'm trying to implement drag & drop on Mac
>
> Do you see a way to enable this in a "general manner" ie.  
> independend of the platform in question? I'd be willing to test on  
> Unix  and admit that I'd really appreciate if scid could learn D&D.  
> This would allow for more seemless integration with the file managers.
>
> Additionally, it might proof useful to check out sc_remote. This  
> actually passes files on to scid, maybe you can find a hint there  
> how to deal with multiple files properly.
>
> My current D&D solution does not allow to drop a file onto scid  
> itself (this would be more intuitive, though) but it allows for  
> droping a file onto scids icon or double click on a file in my filer  
> to get it opened in a running instance of scid. This all works by  
> means of sc_remote.
>
> Probably, it is worth considering to make sc_remote the actual scid  
> and call the current scid main program something like scid.bin. This  
> would model mozillas behaviour and probably be more intutitve  
> concerning double click/D&D to the scid icon.
>
> -- 
>
> Kind regards,
>
> Alexander Wagner
> Universitaetsbibliothek Ilmenau
> Langewiesener Str. 37
> 98693 Ilmenau
> Tel.: 03677/69-4521 , Fax.: 03677/69-4617


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to