The Gtk.Notebook widget is a Gtk.Container whose children are pages that can be switched between using tab labels along one edge.
Configuration options for GtkNotebook.
- Gtk.Notebook.set_tab_pos() for choosing which edge the tabs should appear.
- Gtk.Notebook.set_scrollable() for making notebook bigger and for adding scrolling options.
- Gtk.Notebook.popup_enable(), Gtk.Notebook.popup_disable() for whether there will be a popup menu allowing the users to switch pages
Follow below steps:
- import GTK+ 3 module.
- Create Notebook.
- Create Box.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.