parameters: (cls, keyb)
return_statement: return menu_id
docstring: Find the menu item ID that the
          keybinding is currently associated with.
          @param cls: Class Object
          @param keyb: tuple of unicode (u'Ctrl', u'C')
          @return: int (-1 if not found)
docstring_summary: Find the menu item ID that the
          keybinding is currently associated with.
          @param cls: Class Object
          @param keyb: tuple of unicode (u'Ctrl', u'C')
          @return: int (-1 if not found)
docstring_tokens: Find the menu item ID that the keybinding is currently associated with . @param cls : Class Object @param keyb : tuple of unicode ( u Ctrl u C ) @return : int ( - 1 if not found )
function: def FindMenuId(cls, keyb):
          """Find the menu item ID that the
          keybinding is currently associated with.
          @param cls: Class Object
          @param keyb: tuple of unicode (u'Ctrl', u'C')
          @return: int (-1 if not found)
  
          """
          menu_id = -1
          for key, val in cls.keyprofile.iteritems():
              if val == keyb:
                  menu_id = key
                  break
          return menu_id
function_tokens: def FindMenuId ( cls , keyb ) : menu_id = - 1 for key , val in cls . keyprofile . iteritems ( ) : if val == keyb : menu_id = key break return menu_id