Re: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
On Linux I built gtk2+-2.0 2.24.30 and linking against that library (instead of 2.24.23) solved my problem. Thanks for your help that got me on the straight and narrow toward fixing this bug. Matt On 05/10/2016 09:07 PM, Matt Postiff wrote: I tried same code on Windows with msys2, using

Re: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
I tried same code on Windows with msys2, using gtk2 2.24.28 and it works correctly. On Ubuntu Linux 14.04.4 trusty with gtk2 2.24.23 it fails to operate correctly. I cannot condemn the library with 100% certainty, yet. On 05/10/2016 02:48 PM, Matt Postiff wrote: Thank you...you are enough

Re: loops and contexts

2016-05-10 Thread Rafal Luzynski
Hi, If single iterations of the simulation processing are short then you may prefer scheduling them with g_idle_add() and g_timeout_add() families of functions. No need to mess with multiple main loops and contexts. See more here:

Re: Confused about radio menu items and signals

2016-05-10 Thread Matt Postiff
Thank you...you are enough of an expert! I had a mistake in how I connected the menu items together in a group. I had to init group=NULL and then do item = gtk_radio_menu_item_new_with_mnemonic (group, label); group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item)); three