Explain some quirks of this function. (#351112,
2006-08-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtknotebook.c (gtk_notebook_set_current_page): Explain some quirks of this function. (#351112,
This commit is contained in:
parent
0c9e43aa75
commit
a4894aa25f
@ -6265,8 +6265,13 @@ gtk_notebook_page_num (GtkNotebook *notebook,
|
|||||||
* than the number of pages in the notebook, nothing
|
* than the number of pages in the notebook, nothing
|
||||||
* will be done.
|
* will be done.
|
||||||
*
|
*
|
||||||
* Switches to the page number @page_num.
|
* Switches to the page number @page_num.
|
||||||
**/
|
*
|
||||||
|
* Note that due to historical reasons, GtkNotebook refuses
|
||||||
|
* to switch to a page unless the child widget is visible.
|
||||||
|
* Therefore, it is recommended to show child widgets before
|
||||||
|
* adding them to a notebook.
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
gtk_notebook_set_current_page (GtkNotebook *notebook,
|
gtk_notebook_set_current_page (GtkNotebook *notebook,
|
||||||
gint page_num)
|
gint page_num)
|
||||||
|
Loading…
Reference in New Issue
Block a user