pixmaps Error ...! at link.



Hi all...
 
I want to put a .XPM image over a button, with this code.
 
GtkWidget * buttonImage;
GtkWidget *imagen;
 
buttonImage = gtk_button........(.....);
gtk_widget_show(buttonImage);
 
imagen = gtk_image-new_from_file("/home/Mario/Projects/xpm/ok.xpm");
gtk_widget_show(imagen);
 
gtk_container_add(buttonimage,imagen);
.
.
.
gtk_main();
 
but when compile my project this say
 
Link error.
unreferenced gtk_image_new_from_file........
 
 
My question is:
 
What library I have to add to the libraries path ?
 
 
I am using Anjuta IDE.


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