Maxplus and actions

Im trying to make a simple menu and i can get the items in there, but I cannot change their attributes like Enabled or Checked. Looking at the docs, it looks like they only implemented at getter? Am i missing something?


import MaxPlus

root = MaxPlus.MenuManager.GetMainMenu()
parent = MaxPlus.MenuBuilder(menu)

action = MaxPlus.ActionFactory.Create('foo', 'menu item', func)
## -- This errors with AttributeError: cannot set attribute
action.Enabled = False


parent.AddItem(action)


Thanks