Lines Matching defs:tab
457 BTab *tab = dynamic_cast<BTab *>(archivedTab);
463 AddTab(dynamic_cast<BView*>(archivedView), tab);
501 BTab* tab = TabAt(i);
503 if ((ret = archiver.AddArchivable("_l_items", tab, deep)) != B_OK)
505 ret = archiver.AddArchivable("_view_list", tab->View(), deep);
528 BTab* tab;
529 err = unarchiver.FindObject("_l_items", i, tab);
530 if (err == B_OK && tab) {
536 tab->SetView(view);
537 fTabList->AddItem(tab);
654 // move to the right tab.
657 // move to the left tab.
752 BTab *tab = TabAt(Selection());
754 if (tab)
755 tab->Deselect();
757 tab = TabAt(index);
758 if (tab && ContainerView()) {
761 tab->Select(ContainerView());
813 BTabView::SetFocusTab(int32 tab, bool focused)
815 if (tab >= CountTabs())
816 tab = 0;
818 if (tab < 0)
819 tab = CountTabs() - 1;
822 if (tab == fFocus)
830 if (TabAt(tab) != NULL){
831 TabAt(tab)->MakeFocus(true);
832 Invalidate(TabFrame(tab));
833 fFocus = tab;
895 // Draw a small inactive area before first tab.
1194 message->AddString("suites", "suite/vnd.Be-tab-view");
1207 BTabView::AddTab(BView *target, BTab *tab)
1209 if (tab == NULL)
1210 tab = new BTab(target);
1212 tab->SetView(target);
1217 fTabList->AddItem(tab);
1232 BTab *tab = (BTab *)fTabList->RemoveItem(index);
1233 if (tab == NULL)
1236 tab->Deselect();
1254 return tab;
1337 BTab *tab = TabAt(tabIndex);
1338 if (tab)
1339 return tab->View();