2007/10/6, Thomas Dybdahl Ahle <[EMAIL PROTECTED]>: > Hi, I've been looking for a way to paint a Button on a Pixmap. > In c-gtk I've seen it done like this: > gdk_draw_drawable (window, widget->style->black_gc, > GTK_PROGRESS (pbar)->offscreen_pixmap, > 0,0,0,0,-1,-1); > But I haven't been able to find the offscreen_pixmap attribute on any > widgets, Buttons nor Progressbars.
offscreen_pixmap is a private field of the GtkProgress struct, it shouldn't be accessed directly. > Can any of you help me on how this is done in pygtk? I don't think is possible at the moment. It should be planned for 2.14 according to this bug: http://bugzilla.gnome.org/show_bug.cgi?id=318807 cheers -- Gian Mario Tagliaretti _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
