[pygtk] GTK bug? Or PyGTK bug? Or annoyance (better way to do it?)

Moshe Zadka moshez@math.huji.ac.il
Mon, 13 Nov 2000 17:28:01 +0200 (IST)


> Pardon the *really* dumb variable names.
> -----
> a_message_box = GtkText()
> a_message_box.insert_text("this is a test")
> a_message_box.set_editable(FALSE)
> a_main_vbox.add(a_message_box)
> a_message_box.show()
> -----

Wouldn't it be better to show_all()?
I'm not sure if that's the problem, but it could be that Gtk+ won't
set up the widget properly until it gets a show() message.

.show()-should-be-abolished-ly y'rs, Z.
--
Moshe Zadka <moshez@math.huji.ac.il> -- 95855124
http://advogato.org/person/moshez