fn refresh_selected_tab(&mut self, ctx: &mut Context) {
        let tab = self.tabs[self.selected];
        ctx.get_widget(tab.0).set("selected", true);
        toggle_flag("selected", &mut ctx.get_widget(tab.0));
        ctx.get_widget(tab.0).update(false);
        ctx.get_widget(tab.1).set("visibility", Visibility::Visible);
    }
/**
    Visually refresh the current tab. This is used when, for example, the selected tab is removed,
    so the tab that take it's place need to be visually updated.
    */
Visually refresh the current tab. This is used when, for example, the selected tab is removed,
so the tab that take it's place need to be visually updated.
Visually refresh the current tab . This is used when for example the selected tab is removed so the tab that take it ' s place need to be visually updated .
fn refresh_selected_tab(&mut self, ctx: &mut Context) {
        let tab = self.tabs[self.selected];
        ctx.get_widget(tab.0).set("selected", true);
        toggle_flag("selected", &mut ctx.get_widget(tab.0));
        ctx.get_widget(tab.0).update(false);
        ctx.get_widget(tab.1).set("visibility", Visibility::Visible);
    }
fn refresh_selected_tab ( & mut self , ctx : & mut Context ) { let tab = self . tabs [ self . selected ] ; ctx . get_widget ( tab . 0 ) . set ( " " , true ) ; toggle_flag ( " " , & mut ctx . get_widget ( tab . 0 ) ) ; ctx . get_widget ( tab . 0 ) . update ( false ) ; ctx . get_widget ( tab . 1 ) . set ( " " , Visibility :: Visible ) ; }
Visually refresh the current tab.
Visually refresh the current tab .
&mut self
ctx
&mut Context