Re: Make notebook page active



On Sat, Jul 22, 2006 at 11:45:08AM -0300, C?sar Leonardo Blum Silveira wrote:
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);

Hm. Should.

Excuse my stupid question: does the page exist at the time you issue the
call?

-- tomas


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