Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am building my first app using quickly, pyGTK and python. I am confused how to add multiple pages to the same window and how to switch between multiple windows on click of button ?

In visual studio it is achieved very easie

share|improve this question

1 Answer 1

Do you mean a gtk.Notebook?

To switch between pages, just use the notebook API in your button callback.

def on_button_clicked(button):
    # I want to go to page 2
    # Let's visit the next page
    # And back again


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.