GTKMM PixBuff and error



Hi all,

Is there a way when we create a PixBuf from a file, without catching the gfile_error exception, to know if the PixBuf is fine.

Glib::RefPtr<Gdk::Pixbuf> pix = Gdk::Pixbuf::create_from_file(file);

Perhaps with the refPtr ?

Thanks

begin:vcard
fn;quoted-printable:Xavier Larrod=C3=A9
n;quoted-printable:Larrod=C3=A9;Xavier
org:IRISA ;E119 Orange
title:Projet GVT
tel;work:73 28
version:2.1
end:vcard



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