Gtk.Notebook::switch-page

function callback(notebook, page:Gtk.Widget, page_num:Number, ):void;

Emitted when the user or a function changes the current page.

notebook

instance of Gtk.Notebook that is emitting the signal

page

the new current page

page_num

the index of the page