[EMAIL PROTECTED] wrote:

my difficulty is to place a figure inside of statusbar.does not know if it can
thus be example:

pixmap, mask = gtk.gdk.pixmap_create_from_xpm(
self.area.window, style.bg[gtk.STATE_NORMAL], figure.xpm)
self.area.window.draw_drawable(self.gc, pixmap, 0, 0, x, y, -1, -1)
self.statusbar = gtk.Statusbar();
self.aux=self.statusbar.get_context_id("id_1")
#self.statusbar.push(self.aux,pixmap)

I need to place pixmap in self.statusbar.push(self.aux,pixmap),

please help me.


I don't think the Statusbar supports pushing anything other than text - it just sets the text into a Label. You'd probably have to invent your own statusbar.

John

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to