Re: [gtkmm] ImageLoader



>  
> > 
> 
> Take a look at Gdk::Pixmap::create_from_xpm() family of methods.
> 
> Good luck!
> 
> ---
> Claude Vaillancourt
> 

yep...i know that function for a long long time but... 

Why it doesnt fits:
Gdk::Pixmap *pmap = create_from_xpm(NULL,NULL,etc, filename);
//former (gtk 1.2 ) NULLs were allowed to sign 'dont care' or default ... 
(Do you mind to write a simple example pls. )

Other question: it always waits const std:string& does this mean I can not dynamically set a file's name ?
Am not totally lamer just new in gtkmm.

thx
morti




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