On Fri, May 28, 2004 at 10:11:55PM -0700, John Finlay wrote:
: [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.

What I did in Tkinter and will try to do in pygtk, is set up a status bar
that goes almost all the way across, and then put a couple of red/green
indicators in the leftover space.  Right now I plan to use colored text like
I did in tkinter, but there is no reason why I couldn't use bitmaps, I
guess.

jm
-- 
My other computer is your Windows box.
_______________________________________________
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