Re: [gtk-list] Re: Setting initial focus in a GtkNotebook





On Fri, 10 Sep 1999, Rene' Seindal wrote:

> >From the GTK tutorial, notebook section:
> 
> This next function sets the 'active' page. If you wish the notebook to
> be opened to page 5 for example, you would use this function. Without
> using this function, the notebook defaults to the first page. 
> 
>     void gtk_notebook_set_page( GtkNotebook *notebook,
>                                 gint         page_num );
> 
> -- 
> René Seindal (rene@seindal.dk)			http://www.seindal.dk/rene/
> 

This works. Although if you are using gtk+ < 1.2.4, the notebook won't be
be updated properly when you make a newly added page the active page. This
is a bug which was fixed in version 1.2.4.

Ted Roth



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