Hello,
Can anyone please confirm this problem? I have attached a
simple example python file that illustrates the problem.
Your help is appreciated.
Thanks
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import gtk
import gnome.ui
class Window(object):
def __init__(self):
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.connect("delete_event", self.close_window_cb)
window.set_icon_name("text-editor")
window.set_position(gtk.WIN_POS_CENTER)
window.set_border_width(1)
window.set_size_request(640, 480)
statusbar = gnome.ui.AppBar(True, True)
window.add(statusbar)
statusbar.clear_stack()
statusbar.set_default("")
statusbar.pop()
statusbar.push("It does not work")
statusbar.push("Testing...testing...testing")
window.show_all()
def close_window_cb(self, widget, event, data=None):
gtk.main_quit()
return False
def main():
gtk.main()
if __name__ == "__main__":
Window()
main()_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/