Back to index

python3.2  3.2.2
Classes | Variables
idlelib.tabbedpages Namespace Reference

Classes

class  InvalidNameError
class  AlreadyExistsError
class  TabSet
class  TabbedPageSet

Variables

tuple root = Tk()
tuple tabPage
tuple entryPgName = Entry(root)
tuple buttonAdd
tuple buttonRemove
tuple labelPgName = Label(root, text='name of page to add/remove:')

Detailed Description

An implementation of tabbed pages using only standard Tkinter.

Originally developed for use in IDLE. Based on tabpage.py.

Classes exported:
TabbedPageSet -- A Tkinter implementation of a tabbed-page widget.
TabSet -- A widget containing tabs (buttons) in one or more rows.

Variable Documentation

Initial value:
00001 Button(root, text='Add Page',
00002             command=lambda:tabPage.add_page(entryPgName.get()))

Definition at line 481 of file tabbedpages.py.

Initial value:
00001 Button(root, text='Remove Page',
00002             command=lambda:tabPage.remove_page(entryPgName.get()))

Definition at line 483 of file tabbedpages.py.

Definition at line 480 of file tabbedpages.py.

tuple idlelib.tabbedpages.labelPgName = Label(root, text='name of page to add/remove:')

Definition at line 485 of file tabbedpages.py.

Definition at line 472 of file tabbedpages.py.

Initial value:
00001 TabbedPageSet(root, page_names=['Foobar','Baz'], n_rows=0,
00002                           expand_tabs=False,
00003                           )

Definition at line 473 of file tabbedpages.py.