Re: Again the dnd from netscape to panel/applets.
- From: Bruno Pires Marinho <bapm camoes rnl ist utl pt>
- To: mclos000 correu udg es
- cc: gnome-devel-list gnome org
- Subject: Re: Again the dnd from netscape to panel/applets.
- Date: Wed, 26 May 1999 01:59:59 +0100 (WEST)
Hi again.
On Tue, 25 May 1999 mclos000@correu.udg.es wrote:
> I have DnD from netscape working in my applet. I don't know
> if your problem is making your applet accept DnD from Netscape
> or handling it...
> If you download Gnome Darxite Monitor and look at the
> global.h (just the lines with TARGET_NETSCAPE_URL) and the
> widgets.c (the function darxapp_widget_make) that takes care
> of setting which widget will receive the drop, how, ... and what
> function to assign.
> You can found Gnome Darxite Monitor in the Gnome Software Map
> or in http://darxite.cjb.net/
> The applet takes care of adding files to a batch that "Darxite"
> downloads, that is something similiar your are doing with
> _gtm_ and _wget_.
> Hope this helps.
Thanks for your help because your code give me a clue how to solve my
problem.
I didn't fix this before because when I have GTK_DEST_DEFAULT_DROP on the
gtm application it works but on the applet it doesn't work. But when I had
the GTK_DEST_DEFAULT_MOTION to GTK_DEST_DEFAULT_DROP on the applet it
started to work.
So can anyone tell me why this happens? I looked on the source and I don't
understand the GTK_DEST_DEFAULT_MOTION.
Well so be warned that if you want your applet to accept dnd from netscape
you need to have the GTK_DEST_DEFAULT_MOTION with GTK_DEST_DEFAULT_DROP.
Bye and thanks again for the help.
Bruno Pires Marinho
http://camoes.rnl.ist.utl.pt/~bapm/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]