Re: Use a .png file
- From: Kathrin Hauptvogel <hauptvogel k rheinmetall-de com>
- To: gtkmm-list gnome org
- Subject: Re: Use a .png file
- Date: Wed, 7 Dec 2005 09:59:24 +0100
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]