Re: [pygtk] 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: 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: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] GnomeAppBar and Glade
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: 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? Here is what I do: self.status_bar = self.mainTree.get_widget("appbar") where appbar in the .glade file is: True False True 0 True True Thanks in advance ps. pygtk and pygnome are installed correctly -- Lawrence "Rhymes" Oluyede http://loluyede.blogspot.com [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/