Marking menu radiobutton and checkbox issue
In my continuing efforts to customize the Maya UI I've run into a slight issue regarding Maya's custom marking menus in general, and using checkboxes and radiobuttons in particular. The problem is quite simply that when I click a checkbox or a radiobutton, Maya performs the action paired with that button, without ticking or unticking the checkbox or radiobutton. It simply doesn't update visually, which, if you ask me, diminishes the whole point of using such functionality in the first place.
Why is this and what can I do to fix it?
I've provided two examples to better clarify what I mean, thus helping you to help me. In the first one I want to be able to toggle between the Modeling Toolkit's four different different transform options - world, object, local custom. But as this image shows I'm not able to establish a relationship or connection between my marking menu and the Modeling Toolkit display. Any ideas on how I would go about doing that?

Here's what my code looks like:
Code:
global proc customModelingToolkitMM( string $parentName )
{
radioMenuItemCollection;
menuItem -label (uiRes("m_customModelingToolkitMM.kLocalLabel")) -radioButton 1 -c "dR_coordSpaceLocal" -radialPosition "NE";
menuItem -label (uiRes("m_customModelingToolkitMM.kCustomLabel")) -radioButton 1 -c "dR_coordSpaceCustom" -radialPosition "E";
menuItem -label (uiRes("m_customModelingToolkitMM.kObjectLabel")) -radioButton 1 -c "dR_coordSpaceObject" -radialPosition "NW";
menuItem -label (uiRes("m_customModelingToolkitMM.kWorldLabel")) -radioButton 1 -c "dR_coordSpaceWorld" -radialPosition "W";
}
In my second example I simply wan't to toggle symmetry, but as the image below shows, with no success so far.

Here's what that code looks like:
Code:
global proc customModelingToolkitMM( string $parentName )
{
radioMenuItemCollection;
menuItem -label (uiRes("m_customModelingToolkitMM.kSymmetryLabel")) -checkBox 1 -c "dR_symmetryTGL" -radialPosition "N";
}
What am I doing wrong? Any help is greatly appreciated - Thanks in advance!
// Johan Wendesten