GlueTabBar

class glue.utils.qt.GlueTabBar(parent: Optional[QWidget] = None)

Bases: QTabBar

Methods Summary

choose_rename_tab([index])

Prompt user to rename a tab

mouseDoubleClickEvent(self, a0)

rename_tab(index, label)

Updates the name used for given tab

Methods Documentation

choose_rename_tab(index=None)

Prompt user to rename a tab

Parameters:
indexint

Index of tab to edit. Defaults to current index

mouseDoubleClickEvent(self, a0: QMouseEvent)
rename_tab(index, label)

Updates the name used for given tab

Parameters:
indexint

Index of tab to edit. Defaults to current index

labelstr

New label to use for this tab