Home
last modified time | relevance | path

Searched refs:tab_name (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/idlelib/
Dtabbedpages.py68 def add_tab(self, tab_name): argument
70 if not tab_name:
71 raise InvalidNameError("Invalid Tab name: '%s'" % tab_name)
72 if tab_name in self._tab_names:
73 raise AlreadyExistsError("Tab named '%s' already exists" %tab_name)
75 self._tab_names.append(tab_name)
78 def remove_tab(self, tab_name): argument
80 if not tab_name in self._tab_names:
83 self._tab_names.remove(tab_name)
86 def set_selected_tab(self, tab_name): argument
[all …]
/external/mesa3d/src/imgui/
Dimgui_widgets.cpp6033 const char* tab_name = tab_bar->GetTabName(tab); in TabBarLayout() local
6034 …tab->WidthContents = TabItemCalcSize(tab_name, (tab->Flags & ImGuiTabItemFlags_NoCloseButton) ? fa… in TabBarLayout()
6282 const char* tab_name = tab_bar->GetTabName(tab); in TabBarTabListPopupButton() local
6283 if (Selectable(tab_name, tab_bar->SelectedTabId == tab->ID)) in TabBarTabListPopupButton()