code: def customData( self, key, default = None ):
          
          key     = nativestring(key)
          menu    = self
          while (not key in menu._customData and \
                 isinstance(menu.parent(), XMenu)):
              menu = menu.parent()
          
          return menu._customData.get(nativestring(key), default)
docs: Returns data that has been stored on this menu.
          
          :param      key     | <str>
                      default | <variant>
          
          :return     <variant>