Searched refs:tab_name (Results 1 – 2 of 2) sorted by relevance
68 def add_tab(self, tab_name): argument70 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): argument80 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 …]
6033 const char* tab_name = tab_bar->GetTabName(tab); in TabBarLayout() local6034 …tab->WidthContents = TabItemCalcSize(tab_name, (tab->Flags & ImGuiTabItemFlags_NoCloseButton) ? fa… in TabBarLayout()6282 const char* tab_name = tab_bar->GetTabName(tab); in TabBarTabListPopupButton() local6283 if (Selectable(tab_name, tab_bar->SelectedTabId == tab->ID)) in TabBarTabListPopupButton()