Re: Use a .png file



> Thx,  But how can I show it on the window?
>
> > Try something along the lines of;
> >
> > Glib::RefPtr<Gdk::Pixbuf> png;
> > png = Gdk::Pixbuf::create_from_file ("image.png");

See Gtk::Image (const Glib::RefPtr<Gdk::Pixbuf>& pixbuf) and family.. 



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