[Gtk-sharp-list] position of a combobox

Kimet Adil ksadil at gmail.com
Thu Jan 26 05:41:59 EST 2006


I am trying to find the position od a comboboxentry on the screen so I can
position a popup window near it. I can get the window position by:

        window1.GetPosition(out x, out y);

but when I try to use comboboxentry1.Allocation.X to get the relative
position within thw window, I get the following error:

 "Object reference not set to an instance of an object"

So my question is, How can I get the relative position of a comboboxentry in
a window?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060126/8baf6264/attachment.html

More information about the Gtk-sharp-list mailing list