On Mon, 13 Nov 2000, Moshe Zadka wrote:
>
> > 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.
GtkText is just weird and buggy. That is why it is getting deprecated in
gtk 2.0. There are some operations that will only work after realizing
the widget (some will work before hand as well though).
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk