Re: drag_source_set() on EventBox and Button
- From: Murray Cumming <murrayc murrayc com>
- To: Johannes Schmid <jhs jsschmid de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: drag_source_set() on EventBox and Button
- Date: Sun, 11 May 2008 20:52:42 +0200
On Sun, 2008-05-11 at 19:32 +0200, Johannes Schmid wrote:
> Hi!
>
> I wanted to use a Gtk::Label as a drag source so I have put it inside an
> eventbox and called
>
> eventbox->drag_source_set (my_targets, Gdk::BUTTON1_MASK|
> Gdk::BUTTON3_MASK, Gtk::ACTION_MOVE|Gdk::ACTION_COPY);
>
>
> Doing this for a Gtk::Entry does work and I get the drag_begin() signal,
> but for a Gdk::EventBox (or a Gtk::Button), nothing happens.
I'm pretty sure that the simple dnd example uses a button as a drag
source. Or is this just a problem with button3?
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]