(self, widget)
Blah
Blah
Blah
def group_tab_toggle(self, widget):
        """Blah"""
        if widget.group and widget.group[:4] == 'Tab ':
            self.ungroup_tab(widget)
        else:
            self.group_tab(widget)
def group_tab_toggle ( self , widget ) : if widget . group and widget . group [ : 4 ] == 'Tab ' : self . ungroup_tab ( widget ) else : self . group_tab ( widget )