[pygtk] Re: custom popup dialog
michael.baranov at gmail.com
Mon Oct 15 02:46:57 WST 2007
Thanks for the response!
But the snippet was just an example to illustrate the problem. I can lay =
it out the way that widget's allocation matches the actual widget area =
on the screen.
But what I'm interested in is to know the actual widget area does it =
match it's allocation or not... gtk.Entry won't stretch itself =
vertically in my example and I can't get it's size and position...
Alec Hussey wrote:
> On Sat, 2007-10-13 at 22:24 +0300, Michael Baranov wrote:
> Why dont you simply make a new gtk.Dialog and pack your Entry's into its
> vbox. For example:
> dialog =3D gtk.Dialog(None, None, gtk.DIALOG_MODAL)
> dialog.set_title("GTK Entry")
> entry1 =3D gtk.Entry()
> entry2 =3D gtk.Entry()
> entry1.connect("focus-in-event", on_focus_in)
> entry2.connect("focus-in-event", on_focus_in)
> Alec Hussey
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pygtk