Displaying a jpeg in a button?



Does anybody have a code snippet for displaying a jpeg in a button? I gather
from a few posts on the list that I should use Gtk::Gdk::Pixbuf over the Imlib
bindings. And the image should end up in a DrawingArea inside a button? But
how do I go from Pixbuf to DrawingArea?

--
Jason Bodnar
jason shakabuku org
http://www.shakabuku.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]