Re: how to load an image ?



Hi,
When i designed my project using glade, i've included a default image,
so it's fixed in my interface.c file. How can i do to load another one instead
of the default one without editing my interface.c file ?
Thanks for your help,

Chris


Use  GtkWidget*  gtk_image_new_from_file(const gchar *filename); 

and add this widget to its parrent

Manoj
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze



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