Re: GtkNotebook signals



Chris Seaton wrote:

I don't understand the signals that GtkNotebooks sends. What is the difference between

change-current-page
select-page
switch-page

All those names mean exactly the same thing! That a different page has been selected.

Chris Seaton
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

The only signal you should connect to is "switch-page". If you take a closer look at the code you will see the other signals, "move_focus_out", "focus_tab", "select_page" and "change_current_page" are all key binding signals. Key binding signals are an implementation detail and are considered internal to GTK. You would only use them if you were implementing a new widget from scratch and wanted to add some form of keyboard naviagtion support to the new widget.

Jeff Franks.



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