regarding GtkImageMenuItem
- From: "prabhakar kushwaha" <meet2prabhu gmail com>
- To: gtk-app-devel-list gnome org
- Subject: regarding GtkImageMenuItem
- Date: Sun, 26 Mar 2006 20:24:41 +0530
hi
my problem is regarding this codes...
icon = gtk_image_new_from_file("file_menu_new.png");
file_item = gtk_menu_item_new_with_label("File");
gtk_menu_bar_append( GTK_MENU_BAR(menu_bar),file_item);
file_menu = gtk_menu_new();
menu_file_new = gtk_image_menu_item_new_with_label("New");
gtk_image_menu_item_set_image
(GTK_IMAGE_MENU_ITEM(menu_file_new),gtk_image_new_from_file("menu_file_new.png"));
wenever i use this code in normal .c file it works fine. no error is thrown.
but when i try to use this code in KDevelop it show undefined refrences to
the followings
1. gtk_image_new_from_file
2.gtk_image_menu_item_new_with_label
3.GTK_IMAGE_MENU_ITEM
4.gtk_image_menu_item_set_image
i have checked it to GTK+2.6 API Documentation. it is right
i am using KDevelop 3.0
please help me...
--
Prabhakar
IV Year
B.tech (Computer Science)
I. E. T. Lucknow
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]