OK, I am now connecting the "switch-page" for notebooks which seems to be the only one that works. However, void foo(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data) { assert(page_num == (guint) gtk_notebook_get_current_page(notebook)); ... } The above assertion always fails. What's the matter? Seems like the signal is called before emission. Also, GtkNotebookPage: an opaque implementation detail of GtkNotebook. What does "opaque" mean here? Thanks, Neil _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list