#NEWLINE# def _plug_compass_center( area , widget , frame , guide ) : #NEWLINE# #INDENT# ' Create a tab widget from the widget and frame.\n\n    ' #NEWLINE# default = ( widget if isinstance ( widget , QDockTabWidget ) else area ) #NEWLINE# position = default . tabPosition ( ) #NEWLINE# return _tabify_helper ( area , area , frame , position )