def push(self, value=None):
        if not isinstance(value, Bottle):
            value = Bottle()
        self.append(value)
        return value
Creates a new tool palette tool for an action item.
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/AppStack.push--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/null/action/action_item.py/_PaletteTool.__init__