[pygtk] Tweaking GTK InfoBar properties

Timo timomlists at gmail.com
Wed Feb 9 17:00:08 WST 2011


On 09-02-11 05:14, Jason Heeris wrote:
> I have a GTK InfoBar that I'd like to show a fixed width message in,
> but I can't figure out how to get at the contained text display widget
> ("get_content_area()" just gives me an HBox,
As far as I know, gtk.InfoBar is a subclass of gtk.HBox and has no other 
widgets in it. You will have to add a gtk.Label yourself to the infobar.

Cheers,
Timo

> and I'm not crazy about
> hard-coding indices of undocumented components into my app).
>
> Is there are robust way to do this?
>
> — Jason
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list