def set_tabs_movable(self, movable):
        # Movable tabs are only supported on the document notebook.
        widget = self.widget
        if isinstance(widget, wxDocumentNotebook):
            flags = widget.GetAGWWindowStyleFlag()
            if movable:
               flags |= aui.AUI_NB_TAB_MOVE
            else:
               flags &= ~aui.AUI_NB_TAB_MOVE
            widget.SetAGWWindowStyleFlag(flags)
Set whether or not the tabs are movable.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_notebook.py/WxNotebook.set_tabs_movable