Skip to main content

get_tab

Get a tab by name. If the tab does not exist, create it.

def get_tab(
name: str,
create_if_missing: bool = True
) - > Tab

Get a tab by name. If the tab does not exist, create it.

Parameters

NameTypeDescription
namestrThe name of the tab.
create_if_missingbool = TrueWhether to create the tab if it does not exist.

Returns

TypeDescription
TabThe tab.