Re: Use a .png file



Thx,  But how can I show it on the window?


Am Mittwoch, 7. Dezember 2005 09:34 schrieb Dick Eimers:
> > How can I include a .png or .bmp image in my source code?
>
> Try something along the lines of;
>
> Glib::RefPtr<Gdk::Pixbuf> png;
> png = Gdk::Pixbuf::create_from_file ("image.png");
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




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