def CreateWidgets(self):
     self.tabPages = TabbedPageSet(self, page_names=['Fonts/Tabs',
      'Highlighting',
      'Keys',
      'General'])
     frameActionButtons = Frame(self, pady=2)
     if macosxSupport.isAquaTk():
         paddingArgs = {}
     else:
         paddingArgs = {'padx': 6,
          'pady': 3}
     self.buttonOk = Button(frameActionButtons, text='Ok', command=self.Ok, takefocus=FALSE, **paddingArgs)
     self.buttonApply = Button(frameActionButtons, text='Apply', command=self.Apply, takefocus=FALSE, **paddingArgs)
     self.buttonCancel = Button(frameActionButtons, text='Cancel', command=self.Cancel, takefocus=FALSE, **paddingArgs)
     self.CreatePageFontTab()
     self.CreatePageHighlight()
     self.CreatePageKeys()
     self.CreatePageGeneral()
     self.buttonOk.pack(side=LEFT, padx=5)
     self.buttonApply.pack(side=LEFT, padx=5)
     self.buttonCancel.pack(side=LEFT, padx=5)
     frameActionButtons.pack(side=BOTTOM)
     Frame(self, height=2, borderwidth=0).pack(side=BOTTOM)
     self.tabPages.pack(side=TOP, expand=TRUE, fill=BOTH)