On Fri, Apr 10, 2009 at 4:26 AM, Dirk Vanden Boer <dirk....@gmail.com> wrote: > > But isn't there an api call missing in Gtk::Style of Gtkmm that > accepts a Gdk::Pixmap in stead of Gdk::Window, because painting the > text on a pixmap using the widget style is possible using the c api. > > gtk_paint_layout (widget.get_style()->gobj(), window->gobj(), > GTK_STATE_NORMAL, TRUE, const_cast<GdkRectangle*>(exposeArea.gobj()), > widget.gobj(), "cellrendererplayqueue", cellArea.get_x() + (3 * xPad) > + ALBUM_ART_WIDTH + xOffset, cellArea.get_y() + yPad, layout->gobj());
Its probably true that Gtk::Style's draw methods should probably take Glib::RefPtr<Gdk::Drawable> not Glib::RefPtr<Gdk::Window>. _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list