GTK-Treeview ( unallocate listStore )

2004-01-16 Thread Brice LEROY
Hello, I looking for a solution to deallocate a liststore loaded in a treeview. If you know a function to get the pointer to the gtk_list_store loaded in a treeview to delete with g_free() this variable. thx - Bonjour, Je recherche une solution pour désalouer

GTK-Treeview ( unallocate listStore )

2004-01-16 Thread Brice LEROY
Hello, I looking for a solution to deallocate a liststore loaded in a treeview. If you know a function to get the pointer to the gtk_list_store loaded in a treeview to delete with g_free() this variable. thx - Bonjour, Je recherche une solution pour désalouer

GtkEntry input filters

2004-01-16 Thread Carl B. Constantine
I have a GtkEntry in my app where the only thing I want to be able to input is numbers. I don't want letters or characters like (, * , -, ), and so forth. Anyone know how to write such an input filter? -- .''`. Carl B. Constantine : :' : [EMAIL PROTECTED] `. `'GnuPG: 135F FC30

Re: GTK-Treeview ( unallocate listStore )

2004-01-16 Thread Chris De Maeyer
g_object_unref (G_OBJECT (store)); On Fri, 2004-01-16 at 13:50, Brice LEROY wrote: Hello, I looking for a solution to deallocate a liststore loaded in a treeview. If you know a function to get the pointer to the gtk_list_store loaded in a treeview to delete with g_free() this

Re: GtkEntry input filters

2004-01-16 Thread Billy O'Connor
Carl B. Constantine [EMAIL PROTECTED] writes: I have a GtkEntry in my app where the only thing I want to be able to input is numbers. I don't want letters or characters like (, * , -, ), and so forth. Anyone know how to write such an input filter? Add a signal handler for focus_out_event,

Re: GtkEntry input filters

2004-01-16 Thread Roger Leigh
Carl B. Constantine [EMAIL PROTECTED] writes: I have a GtkEntry in my app where the only thing I want to be able to input is numbers. I don't want letters or characters like (, * , -, ), and so forth. Anyone know how to write such an input filter? Here's one I prepared earlier. You can use