Re: gtk_entry_set_text



Sorry, you're right.
The problem was another one.

The mistake was that the change-event-handler were called reciprocative. One event-handler was called, so it 
changed another text-entry. The event-handler of this text-entry then changed the original text-entry and so 
on. That's why the application crashed.

Thank you for your help.


-------- Original-Nachricht --------
Datum: Tue, 19 Dec 2006 21:38:48 +0100
Von: "Gian Mario Tagliaretti" <g tagliaretti gmail com>
An: "dasaspock gmx de" <dasaspock gmx de>
Betreff: Re: gtk_entry_set_text

2006/12/19, dasaspock gmx de <dasaspock gmx de>:

Normally one can use the function gtk_entry_set_text, but in this case
this is not possible, because I risk that the application crashes, when I
use this function due to conflicts between gtk_main() and the GTK call
invoked in the event handler.

If it is so you found the biggest bug of 2006... what do you mean by
conflicts?
Can you please post a minimal test case?

cheers
-- 
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]