def _on_action_enabled_changed(self, action, trait_name, old, new):

        self.tool_palette.enable_tool(self.tool_id, action.enabled)

        return
Pause or resume (no effect if there is no media).
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_PaletteTool._on_action_enabled_changed--crossover with--dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/MediaPlayer.set_pause