Re: [gtk-list] Trouble using gtk_check_menu_item_set_state()



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





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