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 gtk2
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 o
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
I'm no expert.., but seems like maybe your radio group isn't the same
for your 3 gtk_radio_menu_item_new_with_mnemonic calls, otherwise Gtk
handles toggling of the radio buttons for you.
Note, to prevent your callback being triggered when you call
gtk_check_menu_item_set_active, you can use
g_sign
Hi,
Still learning with gtk2. I have a menu with a submenu. That submenu
contains items for three mutually exclusive states in my program: A, B, and C.
Each menu item is created with code like:
A_menu_item = gtk_radio_menu_item_new_with_mnemonic(group, "label")
In the constructor, my progr