Make notebook page active



Hello all

My software uses a GtkNotebook with two pages. I would like to make
the second page active when the program starts. I tried using the
following piece of code

gtk_notebook_set_current_page(GTK_NOTEBOOK(notebook), 1);

But it didn't actually work. Is there anything else I should do? Some
kind of refreshing?

Thanks,

César B. S.



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