Re: GThread and GCond

2006-03-22 Thread Tristan Van Berkom
Fernando ApesteguĂ­a wrote: Hi, I hope you can help me ;) I'm working with two threads. One of them is running in an infinite loop (well, it finishes under certain conditions) What I want to do is that the infinite loop pauses some times. So I create a GCond, but I think I didn't understand how

GThread and GCond

2006-03-22 Thread Fernando ApesteguĂ­a
Hi, I hope you can help me ;) I'm working with two threads. One of them is running in an infinite loop (well, it finishes under certain conditions) What I want to do is that the infinite loop pauses some times. So I create a GCond, but I think I didn't understand how it works. I do something like

Re: GTK Wizard using Notebook

2006-03-22 Thread Vivien Malerba
On 3/22/06, 3saul <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to programing, especially gtk. I'm wanting to create a gtk wizard > (without a dependency on Gnome - I'm aware of the druid). I thought the best > way might be to create a notebook and have forward and back buttons cycle > through the

GTK Wizard using Notebook

2006-03-22 Thread 3saul
Hi, I'm new to programing, especially gtk. I'm wanting to create a gtk wizard (without a dependency on Gnome - I'm aware of the druid). I thought the best way might be to create a notebook and have forward and back buttons cycle through the tabs. My question iscan someone give me some pointer

Re: Initilize a filter

2006-03-22 Thread Stefan Kost
Hi, this is what I do: GtkListStore *store; GtkTreeModel *filtered_store; ... // create a filterd model filtered_store=gtk_tree_model_filter_new(GTK_TREE_MODEL(store),NULL); gtk_tree_model_filter_set_visible_func(GTK_TREE_MODEL_FILTER(filtered_store),visible_filter,(gpointer)self,NULL); // acti

Initilize a filter

2006-03-22 Thread Bellicano Pascal
Here is my code : GtkTreeModel *filter_model; filter_model=gtk_tree_model_filter_new (GTK_TREE_MODEL(store_ori), NULL); GtkTreeModelFilter *filter; gtk_tree_model_filter_clear_cache(filter); gtk_t