[9865] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Trouble using gtk_check_menu_item_set_state()
daemon@ATHENA.MIT.EDU (Kemal 'Disq' Hadimli)
Wed Nov 4 18:40:45 1998
Date: Thu, 5 Nov 1998 01:26:58 +0000 (GMT)
From: "Kemal 'Disq' Hadimli" <disq@iname.com>
Reply-To: "Kemal 'Disq' Hadimli" <disq@iname.com>
To: gtk-list@redhat.com
In-Reply-To: <Pine.GSO.3.95.981103105121.14456E-100000@harper.uchicago.edu>
Resent-From: gtk-list@redhat.com
On Tue, 3 Nov 1998, Havoc Pennington wrote:
> On Tue, 3 Nov 1998, Kemal 'Disq' Hadimli wrote:
> >
> > item_factory_1 is shown. and when i gtk_widget_realise(item_factory_1)
> > after gtk_widget_show and before the code below, the warnings/errors are
> > different. weird.
> >
>
> It looks to me like you have some kind of infinite loop you didn't plan
> on; if you set_state or set_text, the "changed" or "toggled" signal is
> emitted, so you need to be sure your callbacks work correctly given this.
thank you, I put in a boolean check and the code is now working perfect.
have to be careful with those callbacks. :)
bye,
disqk
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null