GtkRadioMenuItem
Menu item that is part of a group, only one of which may be selected.
Object Hierarchy
Direct subclasses
None.
Description
A GtkRadioMenuItem is one of a group of similar
widgets, only one of which may be selected at any one time.
When the GtkMenuItem version of the
"activate" signal has been
emitted by a GtkRadioMenuItem, there is a second
emission as the most recently active item is toggled to
inactive. This is dealt with before the original
signal is handled.
One way around this would be to use the
"button-press-event" signal.
Another would be to set up a count for each individual function and test
that the count is not divisible by 2. Or, depending on the kind of
function you are calling, you could simply allow
"activate" to be emitted twice.