Re: text entry validation

2007-03-13 Thread lucks
hi..thanks for the code...but i think something is missing and it does not work...here is what i`ve used: void on_bt_validate_clicked (GtkButton *button, gpointer user_data) { GtkWidget *entry;

text entry validation

2007-03-13 Thread lucks
hi...am new to gtk+ and want to validate a text entry when a button is clicked...that is if we put a number in a text box where we expect only alphabets and not number, we should have a dialog box displaying a message... well i know how to display the dialog box but i dont know how to display it

Re: displaying 2 images

2007-03-12 Thread lucks
hi yeti... thanks a lot for your help...now it works.. -- View this message in context: http://www.nabble.com/displaying-2-images-tf3392267.html#a9449573 Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. ___ gtk-app-devel-list mailing

displaying 2 images

2007-03-12 Thread lucks
hi...am using gtk+ on windows and am using visual c++ as compiler..in fact am new to gtk+ programming and am having a difficulty in displaying 2 different images by selecting a single item from combobox...when i displayed for one image it works but to display another image for the same selected it

Re: displaying 2 images from combobox

2007-03-07 Thread lucks
thanks for the info... am still having a lot of problems...you told me to declare it, so i did.but still i cant. in fact am new to gtk+ and dont know too mucn but i have to manage because i have to submit my project on gtk+.. i tried this too: void on_cbo_itemdesign_changed (GtkCom

Re: displaying 2 images from combobox

2007-03-07 Thread lucks
thanks for the info... am still having a lot of problems...you told me to declare it, so i did.but still i cant. in fact am new to gtk+ and dont know too mucn but i have to manage because i have to submit my project on gtk+.. i tried this too: void on_cbo_itemdesign_changed (GtkCom

selecting and displaying from combobox in C

2007-03-07 Thread lucks
hi...am new to gtk+ and i want to display 2 images in 2 different image widgets when a specific item is clicked from a comboboxi`ve managed to display only one picture but i still dont know how to display a selected item...the image is displayed by default when i use the following code: void

Re: displaying 2 images from combobox

2007-03-07 Thread lucks
when i use this: { GtkWidget *image = lookup_widget(GTK_WIDGET(combobox), "img_objectdesign"); gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg"); } it works...as you can see image is already declared in the first line. that is GtkWidget *image=lookup...etc. if i declare it at

displaying 2 images from combobox

2007-03-07 Thread lucks
hi...i just managed to display an image from a combobox using the signal: void on_cbo_itemdesign_changed (GtkComboBox *combobox, gpointer user_data) { GtkWidget *image = lookup_widget(GTK_WIDGET(combobox), "img_objectdesign")

Manipulating a simple list

2007-03-06 Thread lucks
hi...am new to gtk+ and am trying to build an application..i managed to display some text in a list but now i want to add a button(delete) which will delete a selected row from the list..am working in C..please help me. here is the code for my list: void//add item to list list_modify on_bt_a

Re: integrating Gtk with Artoolkit

2007-03-01 Thread lucks
hi.sorry i sent an incomplete message.it was an error.well, am trying to build a gui that will interact with ARtoolkit which also uses C as language and contain OpenGl libraries as well.i`ve manage to copy some of the header files (e.g callback.h, interface.h,etc) "ARToolKit is a software library

Re: integrating Gtk with Artoolkit

2007-02-28 Thread lucks
well thanks for your reply...in fact i want to integrate a GUI front end with ARtoolkit which is in c and contains Opengl Library as well... but i cant display the interface( i cant call main.c) it doesn`t show any error but it doesn`t work...can someone plz help me? thanks -- View this messa

displaying simple image in gtk without boxes

2007-02-26 Thread lucks
-- View this message in context: http://www.nabble.com/displaying-simple-image-in-gtk-without-boxes-tf3291662.html#a9155540 Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome

gtk+ display image

2007-02-24 Thread lucks
hi...am a student and am building an interface using gtk for my project...but am having a problem in displaying an image...if someone could help me i would be much grateful...below is the code which i`ve used. please help me..thanks void on_bt_test_clicked (GtkButton *bu