Hi!
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 = gtk.Dialog(None, None, gtk.DIALOG_MODAL)
dialog.set_title("GTK Entry")
entry1 = gtk.Entry()
entry2 = gtk.Entry()
entry1.connect("focus-in-event", on_focus_in)
entry2.connect("focus-in-event", on_focus_in)
dialog.vbox.pack_start(entry1)
dialog.vbox.pack_start(entry2)
dialog.run()
dialog.destroy()
--
Alec Hussey
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Michael Baranov
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/