determine number of pages in a GtkNotebook



Hello!

Maybe my former mail was not clear enough. So now in simpler words:

- How can I determine the number of pages in a GtkNotebook-Widget?
- Is is safe to use g_list_length(my_notebook.children)?
- Furthermore: Will the pointers stored in my_notebook.children stay
valid when inserting/deleting a page to my_notebook so that it's safe
to use g_list_position(my_notebook.children, node) to determine the
position of a page?
- If yes, will these methods stay valid for future versions gtk-2.x.x?

I need this stuff for the c++-language binding of GtkNotebook in gtkmm!

Regards,

  Martin



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