gtk3: fix ui rendering

expand GtkNotebook
there is no property GtkWidget.extension_events at gtk3
unused variables and functions