Hi,

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?

Thanks,
Kim


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to