[MonoDevelop] Pop-Up Dialog Right Below Parent Widget

Michael Hutchinson m.j.hutchinson at gmail.com
Fri May 20 00:28:17 EDT 2011

2011/5/18 Jacek Rużyczka <stacheldraht at interia.pl>:
> I would like to make a small dialog pop up right below a widget containing an
> Entry. When the user enters something into the entry, a list of alternatives
> shall appear in the dialog. Event firing and design issue are all solved, but:
> How shall I tell MonoDevelop to make the dialog get placed exactly under the
> widget? «Centered on parent» isn't working as the dialog would then appear
> *over* the parent widget, which is not exactly what I want. «At mouse
> position», however, isn't ideal either as the mouse pointer is not always
> placed in the vicinity of the widget.
> What shall I do? Thank you for any helpful advice.

You need to determine the absolute coordinates and size of the entry
widget, then set the absolute position of the pop-up window

Michael Hutchinson

More information about the Monodevelop-list mailing list