pixmaps Error ...! at link.
- From: "Mario Lopez" <mariotpc intelnet net gt>
- To: "Gtk-App-Devel-List Gnome Org" <gtk-app-devel-list gnome org>
- Subject: pixmaps Error ...! at link.
- Date: Tue, 4 Jun 2002 10:35:29 -0600
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]