Re: Callback Question

2008-04-14 Thread Alexander Semenov
Hi. Perhaps, this discussion was related to threads? Thank you all for this! Especialy for the long example, but, it was just an example. I've made an application that works perfectly on Linux but in Window$ it crashes a lot! I've been trying to find a solution (actually a clue of what

Re: Callback Question

2008-04-14 Thread Matí­as Alejandro Torres
Alexander Semenov escribió: Hi. Perhaps, this discussion was related to threads? Thank you all for this! Especialy for the long example, but, it was just an example. I've made an application that works perfectly on Linux but in Window$ it crashes a lot! I've been trying to find a

Callback Question

2008-04-13 Thread Matí­as Alejandro Torres
Hi, Can I call GTK Functions that modifies the GUI inside a callback? Just an example: /*CALLBACK*/ void text_to_upper_callback (GtkEntry *entry, gpointer data) { /* I modify the GUI by setting the text of an entry */ gtk_entry_set_text (entry,

Re: Callback Question

2008-04-13 Thread Eduardo M KALINOWSKI
Matí­as Alejandro Torres wrote: Hi, Can I call GTK Functions that modifies the GUI inside a callback? Sure. What have you tried to do that did not work? -- Many a wife thinks her husband is the world's greatest lover. But she can never catch him at it. Eduardo M KALINOWSKI [EMAIL

Re: Callback Question

2008-04-13 Thread Roman Makurin
В Вск, 13/04/2008 в 15:46 -0300, Matí­as Alejandro Torres пишет: Hi, Can I call GTK Functions that modifies the GUI inside a callback? Just an example: /*CALLBACK*/ void text_to_upper_callback (GtkEntry *entry, gpointer data) { /* I modify the GUI by setting the text of an entry

Re: Callback Question

2008-04-13 Thread Matí­as Alejandro Torres
Roman Makurin escribió: В Вск, 13/04/2008 в 15:46 -0300, Matí­as Alejandro Torres пишет: Hi, Can I call GTK Functions that modifies the GUI inside a callback? Just an example: /*CALLBACK*/ void text_to_upper_callback (GtkEntry *entry, gpointer data) { /* I modify the GUI by