From: Olivier Andrieu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16408.53364.104057.599426 at akasha.ijm.jussieu.fr> Date: Thu, 29 Jan 2004 10:20:52 +0100 To: stalkern2 at tin.it Cc: lablgtk at kaba.or.jp Subject: Re: Problem in using an image as DnD source In-Reply-To: <200401281802.05642.stalkern2 at tin.it> References: <200401091307.00138.stalkern2 at tin.it> <200401281802.05642.stalkern2@tin.it> Hi, Stalkern 2 [Wednesday 28 January 2004] : > Il Friday 09 January 2004 13:07, Stalkern 2 ha scritto: > > Hello to everybody and a happy new year to you all > > (Best Widgets :-)))) > > > > I'm working out the Drag and Drop example in the lablgtk-2.2.0 > > distribution, and I have apparently a little problem when using a > > GMisc.image as DnD source, instead of a button. That's simply because a GtkImage cannot receive events (it has the NO_WINDOW flag). Introducing an event box and using it as the drag source should work. > Here I come: a drawing area will work instead. This seems to be a > nice opportunity e.g. when the DnD source is a cell_renderer_pixbuf. Hum, I don't think so: cell renderers aren't widgets so they cannot be DnD source/destination. -- Olivier