RE: focus_out_event' on GTK_COMBO(..)->entry crashes



Hi
well to answer you , we may need the content of your callback...
regards


-----Message d'origine-----
De : calmar [mailto:mac calmar ws]
Envoyé : lundi 21 octobre 2002 04:23
À : 3_gtk-list gnome org
Objet : focus_out_event' on GTK_COMBO(..)->entry crashes


Hi,          
I have this in my source (trying to fetch the data from a combobox, when 
the box loses the focus)
g_signal_connect (G_OBJECT (GTK_COMBO (combo)->entry), "focus_out_event",
                      G_CALLBACK (deck_callback), NULL);

(on gtk+ 2.0 for windows)
What happens is ... when the focus is lost, the programm correctly calls 
the callback function, but right after it (almost same time, or when the 
callback funktion is finished) , it crashes with this messagewindow :

//

Gtk_ERROR **. file gtkentry.c: line 4221 (blink_cb): assertion failed: 
(GTK_WIDGET_HAS_FOCUS(entry))
aborting
//

Maybe I just can't do this, or maybe I did it wrong, or maybe it's a 
problem from 'MS windows GTK+-2.0' (on winXP)?

Thanks for any hints

calmar

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite. 
Tout message electronique est susceptible d'alteration. 
SG Asset Management et ses filiales declinent toute responsabilite au titre
de ce message s'il a ete altere, deforme ou falsifie.

Découvrez l'offre et les services de SG Asset Management sur le site
www.sgam.fr 

				********

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SG Asset Management nor any of its subsidiaries or affiliates shall
be liable for the message if altered, changed or falsified. 

*************************************************************************






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