Re: DND
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: DND
- Date: 28 Sep 2001 14:01:08 PDT
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]