[pygtk] Place a widget in a window at desired position
Felix Rabe (public)
public at felixrabe.textdriven.com
Sun Apr 15 23:30:00 WST 2007
Xi Chen wrote:
> I’m new to pygtk and want to know, is there any way to place a widget,
> like a label or an image, at an exact position in a window? For example
> I want to place a label at (500,500) to left upper corner, no matter the
> window is in full screen or other state.
Hi,
It is absolutely not recommended - read:
http://www.pygtk.org/docs/pygtk/class-gtkfixed.html
Also see
http://www.pygtk.org/docs/pygtk/class-gtklayout.html
for another way.
bye,
Felix
More information about the pygtk
mailing list