title
= 'Pmw.NoteBook demonstration (with no tabs)'
# Import Pmw from this directory tree.
sys
.path
[:0] = ['../../..']
# Reuse the NoteBook with tabs demo.
class Demo(NoteBook_2
.Demo
):
def __init__(self
, parent
):
NoteBook_2
.Demo
.__init
__(self
, parent
, withTabs
= 0)
# Create demo in root window for testing.
if __name__
== '__main__':
exitButton
= Tkinter
.Button(root
, text
= 'Exit', command
= root
.destroy
)