how to free GList

2006-09-12 Thread shibu Alampatta
Hi all, Pls see the below code structure. how to free the glist at the indicated place? GList * glist=NULL; for(i=0;ihttp://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

combo box

2006-09-11 Thread shibu Alampatta
i'm using a combo box and on selection of a particular item from the drop down list i need to do some processing depending on the selection. which signal i need to use for this purpose, i tried with selection_get signal . it's not working. pls help me. Thks in advance Shibu ___

Pango Warning

2006-09-10 Thread shibu Alampatta
I'm using a combo box, code is given below char a[15]; strcpy(a,"AAA"); glist_append(glist,a); It reports Pango Warning**: Invalid UTF-8 string passed to pango_layout_set_text() and displays some picture like characters in the combo dropdown list. Pls help me , Thks in advance.. ___

Invalid UTF String

2006-09-04 Thread shibu alampatta
hi all I' m using a combo box, reading text from a Sqlite database table, and trying to add to the combo dropdown list. I'm gettting the warnig "Pango-Warning: Invalid UTF String passed to pango_lay_out_set_text()", and the text is being dispalayed in some picture like characters. but if i prints

run time issue- on gtk_widget_show()- Xlib:unexpected async reply

2006-03-31 Thread shibu alampatta
during runtime I'm getting the message Xlib:unexpected async reply (sequence 0xbe8) while trying to show a window. The senario is , In my multi window application,from a thread i'm calling a function, which contains the lines as below GtkWidget *mywindow; . mywindow=c

how to validate data entry

2006-03-16 Thread shibu alampatta
hi, i want to validate data enry to the entry widget. means, insome cases i want only digits be allowed to enter to the widget, or some times only alphabets and digits no other symbol .. ie entering of unwanted characters need to be blocked. any help Thks in advance Shibu

displaying continuosly in entry widget

2006-02-22 Thread shibu alampatta
On pressing a button i wanted a list of text to be displayed on entry widget, on after the other ( in a for loop), with some delay, say sleep(3). but the problem is the last text only getting visible. if i increase the sleep argument then also the same. any help.? thanks in advance ___