[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2933: TabStrip doesn't display ListView Child under GTK if the Tab was temporarily invisible


http://gambaswiki.org/bugtracker/edit?object=BUG.2933&from=L21haW4-

Comment #7 by Bruce STEERS:

Apparently this works...

void HideTab(GtkNotebook *notebook, int pagenumber)
{
        GtkWidget *page;

        page = gtk_notebook_get_nth_page(notebook, pagenumber);
        gtk_widget_hide(page);
}

void ShowTab(GtkNotebook *notebook, int pagenumber)
{
        GtkWidget *page;

        page = gtk_notebook_get_nth_page(notebook, pagenumber);
        gtk_widget_show(page);
        gtk_notebook_set_current_page(notebook, pagenumber);
}

Respects


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----