From otto@redhat.com
Received: (qmail 10626 invoked from network); 20 May 1997 21:15:49 -0000
Received: from nimrod.redhat.com (otto@199.183.24.13)
  by mail2.redhat.com with SMTP; 20 May 1997 21:15:49 -0000
Received: (from otto@localhost)
	by nimrod.redhat.com (8.8.5/8.8.5) id RAA22195;
	Tue, 20 May 1997 17:15:19 -0400
Message-ID: <19970520171513.65470@redhat.com>
Date: Tue, 20 May 1997 17:15:13 -0400
From: Otto Hammersmith <otto@redhat.com>
To: gtk-list@redhat.com
Subject: Drag and drop...
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69

I'll try (in vain) one more time to find out someone else it working
on it, so I don't have to. :)

Is anyone listening working on any kind of drag 'n drop for gtk?  Has
anyone even thought about it, who would like to talk?

If not, foo on you all... I'll just go write the code myself.  So
there!:)

-- 
					-Otto.

From darkwing@bsdd.regensburg.com
Received: (qmail 18651 invoked from network); 20 May 1997 22:11:53 -0000
Received: from bsdd.customer.genias.de (HELO bsdd.regensburg.com) (root@194.120.65.5)
  by mail2.redhat.com with SMTP; 20 May 1997 22:11:52 -0000
Received: from bsdd.regensburg.com (darkwing@localhost [127.0.0.1])
	by bsdd.regensburg.com (8.8.5/8.8.5) with ESMTP id AAA07464
	for <gtk-list@redhat.com>; Wed, 21 May 1997 00:11:23 +0200
Message-Id: <199705202211.AAA07464@bsdd.regensburg.com>
X-Mailer: exmh version 2.0gamma 1/27/96
To: gtk-list@redhat.com
Subject: Re: [gtk-list] Drag and drop... 
In-reply-to: otto's message of Tue, 20 May 1997 17:15:13 -0400.
		<19970520171513.65470@redhat.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 21 May 1997 00:11:22 +0200
From: Christoph Hoegl <darkwing@bsdd.regensburg.com>

> I'll try (in vain) one more time to find out someone else it working
> on it, so I don't have to. :)
> 
> Is anyone listening working on any kind of drag 'n drop for gtk?  Has
> anyone even thought about it, who would like to talk?
> 
> If not, foo on you all... I'll just go write the code myself.  So
> there! :)
> 
> -- 
> 					-Otto.
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 

I already thought about that topic but was held to go forward on 
it (still struggling with the intr. of Gtk:-) )

Perhaps you have a look @ DnD
(I think you could find it by searching for Offix and DnD 
(xemacs and some other apps already support it))

There are sure better ways but last time i had a look on it it 
was pretty nice.

regards,
Christoph

... Dreaming of GTK-Office 97 (famous Drawing program exists 
already, other things like Webbrowser and Spreadsheet are in the 
works:-) )
 

-- 
Christoph Hoegl / darkwing@bsdd.regensburg.com / (Darkwing@berkeley.edu)
Siedlungsstr. 18 93128 Regenstauf Germany  Fax:+49 940270611
12a Tellerrd. 93720 Berkeley CA USA        Fax:+1 (510) 642 1043
=> OOOOOOOOOOOOOO = Now in the "TUNNEL IN NO TIME"-team = OOOOOOOOOOOOOOO =>

From otaylor@cu-dialup-1606.cit.cornell.edu
Received: (qmail 12018 invoked from network); 21 May 1997 00:30:46 -0000
Received: from cu-dialup-1704.cit.cornell.edu (qmailr@132.236.236.56)
  by mail2.redhat.com with SMTP; 21 May 1997 00:30:45 -0000
Received: (qmail 1714 invoked by uid 504); 21 May 1997 00:31:41 -0000
Sender: otaylor@cu-dialup-1606.cit.cornell.edu
To: gtk-list@redhat.com
Cc: otto@redhat.com
Subject: Re: [gtk-list] Drag and drop...
References: <19970520171513.65470@redhat.com>
From: Owen Taylor <owt1@cornell.edu>
Date: 20 May 1997 20:31:40 -0400
In-Reply-To: Otto Hammersmith's message of Tue, 20 May 1997 17:15:13 -0400
Message-ID: <lz67wdwtqq.fsf@cu-dialup-1606.cit.cornell.edu>
Lines: 40
X-Mailer: Gnus v5.4.9/Emacs 19.34


I took a look the offix DND stuff and it seemed pretty reasonable.

(For those who don't know where to look,

   http://leb.net/~offix/

Download the dnd library version 1.0 - the documentation there is more
recent then the stuff on the web page)

I had a minor concern or two about the standard, for instance,
it says:

  DndText - A null terminated string containing valid text characters.

What's a valid text character? How does the receiving application know
what encoding the text is in? But I don't think these are show-stopping 
problems.

The implementation doesn't look to bad, once more comprehensive
selection handling is implemented. Another event type will have to be
added to gtk/gdk for handling the appropriate ClientMessage
events. The interface could be pretty simple:

gtk_widget_enable_drag
gtk_signal_connect("drag",..)
gtk_signal_connect("drop",...)

I still intend to write the selection handling stuff, but I might well
not have a chance for a week or two. After that's done I'd be happy to
implement DND on top of it. But if you (Otto) need it very soon, you'd
probably be better off doing the work yourself. If you plan on doing
some work on the selection mechanism, let me know and I'll pass along
some preliminary thoughts I've had about the design.

Regards,
                                        Owen

From otto@redhat.com
Received: (qmail 2257 invoked from network); 29 May 1997 18:19:06 -0000
Received: from nimrod.redhat.com (otto@199.183.24.13)
  by mail2.redhat.com with SMTP; 29 May 1997 18:19:06 -0000
Received: (from otto@localhost)
	by nimrod.redhat.com (8.8.5/8.8.5) id OAA00681;
	Thu, 29 May 1997 14:18:47 -0400
Message-ID: <19970529141846.52248@redhat.com>
Date: Thu, 29 May 1997 14:18:46 -0400
From: Otto Hammersmith <otto@redhat.com>
To: gtk-list@redhat.com
Subject: simple drag (no drop) thoughts.
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.74

At the moment, I have a simple icon widget... now I'm about to write
an iconbox widget to hold all of my new nifty icons.

One thing I'd like to be able to do is move the icons about in the
iconbox... a simple drag operation.  I -think- this necessitates a new
event to tell widgets they're being dragged (on or about).

Does anyone see any reason I shouldn't go ahead and start hacking the
event code to make it happen?

-- 
					-Otto.

From arun@home.com
Received: (qmail 15742 invoked from network); 10 Jun 1997 22:17:00 -0000
Received: from ha1.rdc1.nj.home.com (siteadm@24.3.128.66)
  by mail2.redhat.com with SMTP; 10 Jun 1997 22:17:00 -0000
Received: from cc1000916-a.avnl1.nj.home.com ([24.3.133.21])
          by ha1.rdc1.nj.home.com (Netscape Mail Server v2.02) with ESMTP
          id AAA28674 for <gtk-list@redhat.com>;
          Tue, 10 Jun 1997 15:16:53 -0700
Received: (from arun@localhost) by cc1000916-a.avnl1.nj.home.com 
(8.7.4/8.7.3) id SAA10323 for gtk-list@redhat.com; Tue, 10 Jun 1997 18:15:47 -0400
Date: Tue, 10 Jun 1997 18:15:47 -0400
From: Arun Sharma <arun@home.com>
Message-Id: <199706102215.SAA10323@cc1000916-a.avnl1.nj.home.com>
To: gtk-list@redhat.com
Subject: Gtk and Drag and drop

Hi,

Does Gtk already support drag and drop ? If not, are there any plans to
do so ? The offix drag and drop seems to be good and can probably be 
integrated into Gtk. Is anyone working on it ?

	-Arun

From timj@psynet.net
Received: (qmail 3142 invoked from network); 10 Jun 1997 23:45:19 -0000
Received: from dip103-2.hamburg.netsurf.de (HELO birgrave.birnet.private) 
(root@194.195.202.103)
  by mail2.redhat.com with SMTP; 10 Jun 1997 23:45:18 -0000
Received: from birgrave (timj@localhost)
	  by birgrave.birnet.private (8.8.4/8.8.4) with internal
	  id BAA04667; Wed, 11 Jun 1997 01:45:42 +0200
From: Tim Janik <timj@psynet.net>
Message-Id: <199706102345.BAA04667%timj@psynet.net>
Date: Wed, 11 Jun 1997 01:45:31 +0200 (CEST)
To: gtk-list@redhat.com
Subject: Re: [gtk-list] Gtk and Drag and drop
In-Reply-To: <199706102215.SAA10323@cc1000916-a.avnl1.nj.home.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 10 Jun 1997, Arun Sharma wrote:

> Hi,
> 
> Does Gtk already support drag and drop ? If not, are there any plans to
> do so ? The offix drag and drop seems to be good and can probably be 
> integrated into Gtk. Is anyone working on it ?
> 

just quoting the TODO list from the last gtk+ dist:

>
> -OffiX drag and drop support
>

this is from the TODO list, and it's not implemented yet, but anyways
the TODO list states, that peter (and spencer) already took D&D support
into consideration...


> 	-Arun
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

---
ciaoTJ

From otto@redhat.com
Received: (qmail 26577 invoked from network); 11 Jun 1997 03:11:39 -0000
Received: from nimrod.redhat.com (otto@199.183.24.13)
  by mail2.redhat.com with SMTP; 11 Jun 1997 03:11:39 -0000
Received: (from otto@localhost)
	by nimrod.redhat.com (8.8.5/8.8.5) id XAA17273;
	Tue, 10 Jun 1997 23:11:32 -0400
Message-ID: <19970610231131.26614@redhat.com>
Date: Tue, 10 Jun 1997 23:11:31 -0400
From: Otto Hammersmith <otto@redhat.com>
To: gtk-list@redhat.com
Subject: Re: [gtk-list] Gtk and Drag and drop
References: <199706102215.SAA10323@cc1000916-a.avnl1.nj.home.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.74
In-Reply-To: <199706102215.SAA10323@cc1000916-a.avnl1.nj.home.com>; 
from Arun Sharma on Tue, Jun 10, 1997 at 06:15:47PM -0400

On Tue, Jun 10, 1997 at 06:15:47PM -0400, Arun Sharma wrote:
> Hi,
> 
> Does Gtk already support drag and drop ? If not, are there any plans to
> do so ? The offix drag and drop seems to be good and can probably be 
> integrated into Gtk. Is anyone working on it ?

I had intended on doing it, if no one had before me.

Someone else (Owen?) on this list said they might have time to work on
it before too long.

I think the answer is, if you have the time and ability go for it. :)
Send patches to the list...

-- 
					-Otto.

From sopwith@redhat.com
Received: (qmail 17860 invoked from network); 11 Jun 1997 13:44:05 -0000
Received: from dilbert.redhat.com (sopwith@207.220.27.4)
  by mail2.redhat.com with SMTP; 11 Jun 1997 13:44:05 -0000
Received: from localhost (sopwith@localhost)
	by dilbert.redhat.com (8.8.5/8.8.5) with SMTP id JAA12585
	for <gtk-list@redhat.com>; Wed, 11 Jun 1997 09:43:59 -0400
Date: Wed, 11 Jun 1997 09:43:58 -0400 (EDT)
From: Elliot Lee <sopwith@redhat.com>
To: gtk-list@redhat.com
Subject: Re: [gtk-list] Re: Gtk and Drag and drop
In-Reply-To: <199706102345.BAA04667%timj@psynet.net>
Message-ID: <Pine.LNX.3.95.970611094125.12409D-100000@dilbert.redhat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 11 Jun 1997, Tim Janik wrote:

> > Does Gtk already support drag and drop ? If not, are there any plans to
> > do so ? The offix drag and drop seems to be good and can probably be 
> > integrated into Gtk. Is anyone working on it ?
> > 
> 
> just quoting the TODO list from the last gtk+ dist:
> 
> >
> > -OffiX drag and drop support
> >
> 
> this is from the TODO list, and it's not implemented yet, but anyways
> the TODO list states, that peter (and spencer) already took D&D support
> into consideration...

Hmm... I have some very prelim patches (i.e. you can turn on
gdk_show_events and see it telling you it is starting a drag, and I think
I had it sending the drop events at one point :-) but I didn't see any
specific framework for D&D support in gdk/gtk. If you know what that
consideration for D&D was, please let me know.

-- Elliot					http://www.redhat.com/
How do you explain school to a higher intelligence?
                -- Elliot, "E.T."

From arun@home.com
Received: (qmail 15148 invoked from network); 11 Jun 1997 23:59:16 -0000
Received: from ha1.rdc1.nj.home.com (siteadm@24.3.128.66)
  by mail2.redhat.com with SMTP; 11 Jun 1997 23:59:15 -0000
Received: from cc1000916-a.avnl1.nj.home.com ([24.3.133.21])
          by ha1.rdc1.nj.home.com (Netscape Mail Server v2.02) with ESMTP
          id AAA14962 for <gtk-list@redhat.com>;
          Wed, 11 Jun 1997 16:59:02 -0700
Received: (from arun@localhost) by cc1000916-a.avnl1.nj.home.com (8.7.4/8.7.3) 
id TAA16496; Wed, 11 Jun 1997 19:57:55 -0400
Date: Wed, 11 Jun 1997 19:57:55 -0400
Message-Id: <199706112357.TAA16496@cc1000916-a.avnl1.nj.home.com>
To: gtk-list@redhat.com
In-reply-to: <Pine.LNX.3.95.970611094125.12409D-100000@dilbert.redhat.com>
	(message from Elliot Lee on Wed, 11 Jun 1997 09:43:58 -0400 (EDT))
Subject: Re: [gtk-list] Re: Gtk and Drag and drop
From: Arun Sharma <arun@home.com>

On Wed, 11 Jun 1997 09:43:58 -0400 (EDT), Elliot Lee wrote:

	e> Hmm... I have some very prelim patches (i.e. you can turn
	e> on gdk_show_events and see it telling you it is starting a
	e> drag, and I think I had it sending the drop events at one
	e> point :-) but I didn't see any specific framework for D&D
	e> support in gdk/gtk.

There is an already existing drag and drop protocol, which is used by
the OffiX suite. I'm investigating if I can incorporate the same
protocol in gtk, while preserving interoperability with OffiX.

If I'm successful, I'll send the patches to the mailing list.

	e> If you know what that consideration for D&D was, please
	e> let me know.

Just wanted to imitate some of the Netscape address book's (yet to be
properly done) drag and drop functionality.

	-Arun

From sopwith@redhat.com
Received: (qmail 14742 invoked from network); 12 Jun 1997 00:47:06 -0000
Received: from lacrosse.redhat.com (sopwith@199.183.24.212)
  by mail2.redhat.com with SMTP; 12 Jun 1997 00:47:06 -0000
Received: from localhost (sopwith@localhost)
          by lacrosse.redhat.com (8.8.5/8.8.4) with SMTP
	  id UAA07407 for <gtk-list@redhat.com>; Wed, 11 Jun 1997 20:47:01 -0400
X-Authentication-Warning: lacrosse.redhat.com: sopwith owned process doing -bs
Date: Wed, 11 Jun 1997 20:47:01 -0400 (EDT)
From: Elliot Lee <sopwith@redhat.com>
To: gtk-list@redhat.com
Subject: Re: [gtk-list] Re: Gtk and Drag and drop
In-Reply-To: <199706112357.TAA16496@cc1000916-a.avnl1.nj.home.com>
Message-ID: <Pine.LNX.3.95.970611204350.7130B-100000@lacrosse.redhat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 11 Jun 1997, Arun Sharma wrote:

> 	e> Hmm... I have some very prelim patches (i.e. you can turn
> 	e> on gdk_show_events and see it telling you it is starting a
> 	e> drag, and I think I had it sending the drop events at one
> 	e> point :-) but I didn't see any specific framework for D&D
> 	e> support in gdk/gtk.
> 
> There is an already existing drag and drop protocol, which is used by
> the OffiX suite. I'm investigating if I can incorporate the same
> protocol in gtk, while preserving interoperability with OffiX.

I'm making it use OffiX already. If someone has docs on the Motif D&D
protocol, I'll try to incorporate that too.

I have most of the gdk side of things done now - I can drop an object from
the 'dndtest' program to testgtk and see the data.

> If I'm successful, I'll send the patches to the mailing list.
> 
> 	e> If you know what that consideration for D&D was, please
> 	e> let me know.
> 
> Just wanted to imitate some of the Netscape address book's (yet to be
> properly done) drag and drop functionality.

Hmm, that's not what I was asking about. The person I was replying to made
it sound like P&S had already put in some framework for D&D, but I
couldn't see any. Do you know if they have anything in place already for
D&D?

Thanks,
-- Elliot					http://www.redhat.com/
How do you explain school to a higher intelligence?
                -- Elliot, "E.T."

From arun@home.com
Received: (qmail 24675 invoked from network); 12 Jun 1997 01:09:22 -0000
Received: from ha1.rdc1.nj.home.com (siteadm@24.3.128.66)
  by mail2.redhat.com with SMTP; 12 Jun 1997 01:09:20 -0000
Received: from cc1000916-a.avnl1.nj.home.com ([24.3.133.21])
          by ha1.rdc1.nj.home.com (Netscape Mail Server v2.02) with ESMTP
          id AAA20980 for <gtk-list@redhat.com>;
          Wed, 11 Jun 1997 18:09:11 -0700
Received: (from arun@localhost) by cc1000916-a.avnl1.nj.home.com (8.7.4/8.7.3) 
id VAA25111; Wed, 11 Jun 1997 21:08:05 -0400
Date: Wed, 11 Jun 1997 21:08:05 -0400
Message-Id: <199706120108.VAA25111@cc1000916-a.avnl1.nj.home.com>
To: gtk-list@redhat.com
In-reply-to: <Pine.LNX.3.95.970611204350.7130B-100000@lacrosse.redhat.com>
	(message from Elliot Lee on Wed, 11 Jun 1997 20:47:01 -0400 (EDT))
Subject: Re: [gtk-list] Re: Gtk and Drag and drop
From: Arun Sharma <arun@home.com>

On Wed, 11 Jun 1997 20:47:01 -0400 (EDT), Elliot Lee wrote:


	e> I'm making it use OffiX already. If someone has docs on the
	e> Motif D&D protocol, I'll try to incorporate that too.

	e> I have most of the gdk side of things done now - I can drop
	e> an object from the 'dndtest' program to testgtk and see the
	e> data.

Can you send me the patches ? I have gtk+970606.tar.gz. BTW, the
automake stuff doesn't work. Even a straight ./configure and make
didn't work -- make doesn't know how to make libgtk.la.

Thanks!

	-Arun