logo       

Re: GnomeAppBar and Glade: msg#00196

gnome.gtk+.python

Subject: Re: GnomeAppBar and Glade

On 28/08/03 17:57, Lawrence Oluyede wrote:

I'm reading a C-based tutorial to learn using Glade2, but I still have a problem.
When I try to get the GnomeAppBar widget from the XML tree what the get_widget method
returns is:

<gtk.HBox object (GnomeAppBar) at 0x40c12464>

and when I try to use push() or set_status() method to put text into the app bar
it raises an error since it doesn't find such methods.

What I'm doing wrong? The HBox obviously doesn't have those methods but what if want to use GnomeAppBar widget with
Python?

Have you imported gnome.ui and called gnome.program_init() ?

James.

--
Email: james@xxxxxxxxxx
WWW: http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise