Well, I guess after this page_label = gtk_label_new("Client"); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox0, page_label); gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0);
the page exists, right? So, there is really something missing? What is it? Thanks, César B. S. On 7/22/06, chabayo <chabayo> wrote: > Hello, i simply try to kick short help... > > Am 22.07.2006 16:45:08 schrieb(en) César Leonardo Blum Silveira: > > 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); > > As i looked you set a page's content by giving a GtkWidget to > gtk_notebook_append_page. > > I expect you may focus this Widget, for example with > gtk_window_set_focus . > > > > > But it didn't actually work. Is there anything else I should do? Some > > kind of refreshing? > > > > Thanks, > > > > César B. S. > > _______________________________________________ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > > > > > > ___________________________________________________________ > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list