parameters: (self, event)
docstring: Respond to the "About pySketch" menu command.
docstring_summary: Respond to the "About pySketch" menu command.
docstring_tokens: Respond to the About pySketch menu command .
function: def doShowAbout(self, event):
          """ Respond to the "About pySketch" menu command.
          """
          dialog = wx.Dialog(self, -1, "About pySketch") # ,
                            #style=wx.DIALOG_MODAL | wx.STAY_ON_TOP)
          dialog.SetBackgroundColour(wx.WHITE)
  
          panel = wx.Panel(dialog, -1)
          panel.SetBackgroundColour(wx.WHITE)
  
          panelSizer = wx.BoxSizer(wx.VERTICAL)
  
          boldFont = wx.Font(panel.GetFont().GetPointSize(),
                            panel.GetFont().GetFamily(),
                            wx.NORMAL, wx.BOLD)
  
          logo = wx.StaticBitmap(panel, -1, wx.Bitmap("images/logo.bmp",
                                                    wx.BITMAP_TYPE_BMP))
  
          lab1 = wx.StaticText(panel, -1, "pySketch")
          lab1.SetFont(wx.Font(36, boldFont.GetFamily(), wx.ITALIC, wx.BOLD))
          lab1.SetSize(lab1.GetBestSize())
  
          imageSizer = wx.BoxSizer(wx.HORIZONTAL)
          imageSizer.Add(logo, 0, wx.ALL | wx.ALIGN_CENTRE_VERTICAL, 5)
          imageSizer.Add(lab1, 0, wx.ALL | wx.ALIGN_CENTRE_VERTICAL, 5)
  
          lab2 = wx.StaticText(panel, -1, "A simple object-oriented drawing " + \
                                         "program.")
          lab2.SetFont(boldFont)
          lab2.SetSize(lab2.GetBestSize())
  
          lab3 = wx.StaticText(panel, -1, "pySketch is completely free " + \
                                         "software; please")
          lab3.SetFont(boldFont)
          lab3.SetSize(lab3.GetBestSize())
  
          lab4 = wx.StaticText(panel, -1, "feel free to adapt or use this " + \
                                         "in any way you like.")
          lab4.SetFont(boldFont)
          lab4.SetSize(lab4.GetBestSize())
  
          lab5 = wx.StaticText(panel, -1,
                               "Author: Erik Westra " + \
                               "(ewestra@wave.co.nz)\n" + \
                               "Contributors: Bill Baxter " +\
                               "(wbaxter@gmail.com)  ")
  
          lab5.SetFont(boldFont)
          lab5.SetSize(lab5.GetBestSize())
  
          btnOK = wx.Button(panel, wx.ID_OK, "OK")
  
          panelSizer.Add(imageSizer, 0, wx.ALIGN_CENTRE)
          panelSizer.Add((10, 10)) # Spacer.
          panelSizer.Add(lab2, 0, wx.ALIGN_CENTRE)
          panelSizer.Add((10, 10)) # Spacer.
          panelSizer.Add(lab3, 0, wx.ALIGN_CENTRE)
          panelSizer.Add(lab4, 0, wx.ALIGN_CENTRE)
          panelSizer.Add((10, 10)) # Spacer.
          panelSizer.Add(lab5, 0, wx.ALIGN_CENTRE)
          panelSizer.Add((10, 10)) # Spacer.
          panelSizer.Add(btnOK, 0, wx.ALL | wx.ALIGN_CENTRE, 5)
  
          panel.SetAutoLayout(True)
          panel.SetSizer(panelSizer)
          panelSizer.Fit(panel)
  
          topSizer = wx.BoxSizer(wx.HORIZONTAL)
          topSizer.Add(panel, 0, wx.ALL, 10)
  
          dialog.SetAutoLayout(True)
          dialog.SetSizer(topSizer)
          topSizer.Fit(dialog)
  
          dialog.Centre()
  
          btn = dialog.ShowModal()
          dialog.Destroy()
function_tokens: def doShowAbout ( self , event ) : dialog = wx . Dialog ( self , - 1 , "About pySketch" ) # , #style=wx.DIALOG_MODAL | wx.STAY_ON_TOP) dialog . SetBackgroundColour ( wx . WHITE ) panel = wx . Panel ( dialog , - 1 ) panel . SetBackgroundColour ( wx . WHITE ) panelSizer = wx . BoxSizer ( wx . VERTICAL ) boldFont = wx . Font ( panel . GetFont ( ) . GetPointSize ( ) , panel . GetFont ( ) . GetFamily ( ) , wx . NORMAL , wx . BOLD ) logo = wx . StaticBitmap ( panel , - 1 , wx . Bitmap ( "images/logo.bmp" , wx . BITMAP_TYPE_BMP ) ) lab1 = wx . StaticText ( panel , - 1 , "pySketch" ) lab1 . SetFont ( wx . Font ( 36 , boldFont . GetFamily ( ) , wx . ITALIC , wx . BOLD ) ) lab1 . SetSize ( lab1 . GetBestSize ( ) ) imageSizer = wx . BoxSizer ( wx . HORIZONTAL ) imageSizer . Add ( logo , 0 , wx . ALL | wx . ALIGN_CENTRE_VERTICAL , 5 ) imageSizer . Add ( lab1 , 0 , wx . ALL | wx . ALIGN_CENTRE_VERTICAL , 5 ) lab2 = wx . StaticText ( panel , - 1 , "A simple object-oriented drawing " + "program." ) lab2 . SetFont ( boldFont ) lab2 . SetSize ( lab2 . GetBestSize ( ) ) lab3 = wx . StaticText ( panel , - 1 , "pySketch is completely free " + "software; please" ) lab3 . SetFont ( boldFont ) lab3 . SetSize ( lab3 . GetBestSize ( ) ) lab4 = wx . StaticText ( panel , - 1 , "feel free to adapt or use this " + "in any way you like." ) lab4 . SetFont ( boldFont ) lab4 . SetSize ( lab4 . GetBestSize ( ) ) lab5 = wx . StaticText ( panel , - 1 , "Author: Erik Westra " + "(ewestra@wave.co.nz)\n" + "Contributors: Bill Baxter " + "(wbaxter@gmail.com)  " ) lab5 . SetFont ( boldFont ) lab5 . SetSize ( lab5 . GetBestSize ( ) ) btnOK = wx . Button ( panel , wx . ID_OK , "OK" ) panelSizer . Add ( imageSizer , 0 , wx . ALIGN_CENTRE ) panelSizer . Add ( ( 10 , 10 ) ) # Spacer. panelSizer . Add ( lab2 , 0 , wx . ALIGN_CENTRE ) panelSizer . Add ( ( 10 , 10 ) ) # Spacer. panelSizer . Add ( lab3 , 0 , wx . ALIGN_CENTRE ) panelSizer . Add ( lab4 , 0 , wx . ALIGN_CENTRE ) panelSizer . Add ( ( 10 , 10 ) ) # Spacer. panelSizer . Add ( lab5 , 0 , wx . ALIGN_CENTRE ) panelSizer . Add ( ( 10 , 10 ) ) # Spacer. panelSizer . Add ( btnOK , 0 , wx . ALL | wx . ALIGN_CENTRE , 5 ) panel . SetAutoLayout ( True ) panel . SetSizer ( panelSizer ) panelSizer . Fit ( panel ) topSizer = wx . BoxSizer ( wx . HORIZONTAL ) topSizer . Add ( panel , 0 , wx . ALL , 10 ) dialog . SetAutoLayout ( True ) dialog . SetSizer ( topSizer ) topSizer . Fit ( dialog ) dialog . Centre ( ) btn = dialog . ShowModal ( ) dialog . Destroy ( )