Getting a GdkPixbuf from any GtkImage



Hi

I have a function that makes a GdkPixbuf from whatever, and I want to use gtk_image_new_from_stock(GTK_STOCK_MISSING_IMAGE) as a fallback.

But I can't use gtk_image_get_pixbuf() on that image, apparently because a GdkPixbuf wasn't used to crate it, or something.

Help?

Thanks in advance,

Andrew



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