Re: Menu popup problems
- From: learfox furry ao net
- To: Angelo Cano <acano systec com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Menu popup problems
- Date: Sat, 23 Dec 2000 13:59:53 -0800 (PST)
Thanks again! :) I guess I overlooked that particular function
in the header file, it works just fine now.
Use GtkMenuPositionFunc you get coordinates of pointer with respect
to root. Then use gdk_window_get_origin() to get the button's GdkWindow
coordinates with respect to root.
--
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]