[Idle-dev] CVS: idle tabpage.py,1.2,1.3
Stephen M. Gava
elguavas@users.sourceforge.net
Thu, 03 Jan 2002 04:02:39 -0800
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv2638
Modified Files:
tabpage.py
Log Message:
fixups and improvements
Index: tabpage.py
===================================================================
RCS file: /cvsroot/idlefork/idle/tabpage.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** tabpage.py 2001/12/05 06:39:18 1.2
--- tabpage.py 2002/01/03 12:02:37 1.3
***************
*** 12,16 ****
Frame.__init__(self, parent,borderwidth=2,relief=RIDGE)
self.button=Radiobutton(self,padx=5,pady=5,takefocus=FALSE,
! underline=0,indicatoron=FALSE,highlightthickness=0,
borderwidth=0,selectcolor=self.cget('bg'))
self.button.pack()
--- 12,16 ----
Frame.__init__(self, parent,borderwidth=2,relief=RIDGE)
self.button=Radiobutton(self,padx=5,pady=5,takefocus=FALSE,
! indicatoron=FALSE,highlightthickness=0,
borderwidth=0,selectcolor=self.cget('bg'))
self.button.pack()
***************
*** 20,24 ****
a set of 'pages' with TabButtons for controlling their display
"""
! def __init__(self,parent,pageNames,**kw):
"""
pageNames - a list of strings, each string will be the dictionary key
--- 20,24 ----
a set of 'pages' with TabButtons for controlling their display
"""
! def __init__(self,parent,pageNames=[],**kw):
"""
pageNames - a list of strings, each string will be the dictionary key
***************
*** 107,110 ****
--- 107,111 ----
labelPgName.pack(padx=5)
entryPgName.pack(padx=5)
+ tabPage.ChangePage()
root.mainloop()