def insert(self, index, item):
        if isinstance(item, Action):
            item = ActionItem(action=item)
        elif callable(item):
            name = user_name_for(item.func_name)
            item = ActionItem(action=Action(name=name, on_perform=item))

        item.parent = self
        self._items.insert(index, item)

        return item
Set the default value for an option in the specified section.
dataset/ETHPy150Open enthought/pyface/pyface/action/group.py/Group.insert--crossover with--dataset/ETHPy150Open kivy/kivy/kivy/config.py/ConfigParser.setdefault