[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: DND
From: "Tara M" <learfox () furry ! ao ! net>
Date: 2001-09-28 14:01:08
[Download RAW message or body]
On Thu, 27 Sep 2001 19:48:59 +0200, Richard said:
> I try to make a form-maker. You kan set widgets in a fixed widget and "compose" a \
> form. After the widget is put in the fixed widget I want to be able to DND it to \
> other places. The first DND works fine. But after that I have to click the fixed \
> widget first to get DND working again. I gues it hangs at some signalhandler maybe. \
> I want that after the drop the widget can directly be DND-ed again. This is not \
> happening now. Is there some sort of clean-up code to get the widget responsive for \
> DND again without clicking other widgets first?
> Richard
You might want to set the drop widget to GTK_CAN_FOCUS and call
gtk_widget_grab_focus() and gtk_widget_grab_default(). There's a
chance in your drag_end callback to do that. See if that works.
--
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
.__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic