cpython: 3f10b8009060 (original) (raw)

--- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -77,8 +77,15 @@ class ConfigDialog(Toplevel): def CreateWidgets(self): self.tabPages = TabbedPageSet(self, page_names=['Fonts/Tabs', 'Highlighting', 'Keys', 'General'])

+

@@ -86,30 +93,25 @@ class ConfigDialog(Toplevel): else: paddingArgs = {'padx':6, 'pady':3} -# Comment out button creation and packing until implement self.Help -## self.buttonHelp = Button(frameActionButtons, text='Help', -## command=self.Help, takefocus=FALSE, -## **paddingArgs)

+# Comment out Help button creation and packing until implement self.Help +## self.buttonHelp = Button( +## frame, text='Help', command=self.Help, +## takefocus=FALSE, **paddingArgs)

self.buttonHelp.pack(side=RIGHT, padx=5)

     self.buttonOk.pack(side=LEFT, padx=5)[](#l1.54)
     self.buttonApply.pack(side=LEFT, padx=5)[](#l1.55)
     self.buttonCancel.pack(side=LEFT, padx=5)[](#l1.56)

def CreatePageFontTab(self): parent = self.parent