          ''' Add the section utility buttons '''
          utlframe = tk.Frame(frame)
          utlframe.pack(side=tk.TOP, pady=(5,0))
  
          for utl in ('load', 'save', 'clear', 'reset'):
              img = getattr(self.gui, 'ico' + utl)
              action = getattr(self.gui, utl + '_config')
              btnutl = tk.Button( utlframe,
                                  height=16,
                                  width=16,
                                  image=img,
                                  command=lambda cmd=action: cmd(self.command))
              btnutl.pack(padx=2, pady=2, side=tk.LEFT)
              self.gui.bind_help(btnutl, utl.capitalize() + ' ' + self.title + ' config')
  
      def add_status_section(self, frame):
          ''' Build the info text section page '''
          statusframe = tk.Frame(frame)
          statusframe.pack(side=tk.TOP, pady=(5,0))
          
          lbltitle = tk.Label(statusframe, text='Status', width=15, anchor=tk.SW)
          lbltitle.pack(side=tk.TOP)
          self.gui.statustext.set('Idle')
          lblstatus = tk.Label(   statusframe,
                                  height=1,
                                  width=15,
                                  textvariable=self.gui.statustext,
                                  wraplength=120,
                                  justify=tk.LEFT,
                                  anchor=tk.NW,
                                  bg="gray90")
          lblstatus.pack(side=tk.BOTTOM, anchor=tk.N)
  
  class CommandTab(object):
      ''' Tabs to hold the command options '''
      def __init__(self, gui, notebook, command):
          self.gui = gui
 
</s> remove         self.add_info_section(frame)
        self.add_action_buttons(frame)
        self.add_util_buttons(frame)
        self.add_status_section(frame)
        
    def add_info_section(self, frame):
        ''' Build the info text section page '''
        hlpframe=tk.Frame(frame)
        hlpframe.pack(fill=tk.X, side=tk.TOP, pady=5)
        lbltitle = tk.Label(hlpframe, text='Info', width=15, anchor=tk.SW)
        lbltitle.pack(side=tk.TOP)
        self.gui.helptext.set('')
        lblhelp = tk.Label( hlpframe,
                            height=20,
                            width=15,
                            textvariable=self.gui.helptext,
                            wraplength=120, 
                            justify=tk.LEFT, 
                            anchor=tk.NW,
                            bg="gray90")
        lblhelp.pack(side=tk.TOP, anchor=tk.N)

    def add_action_buttons(self, frame):
        ''' Add the action buttons for page '''
        actframe = tk.Frame(frame)
        actframe.pack(fill=tk.X, side=tk.TOP, pady=(15, 0))

        btnexecute = tk.Button( actframe,
                                text=self.title,
                                height=2,
                                width=12,
                                command=lambda: self.gui.execute_task(self.command))
        btnexecute.pack(side=tk.TOP)
        self.gui.bind_help(btnexecute, 'Run the {} script'.format(self.title))
 </s> add     http://stackoverflow.com/questions/3221956/
           what-is-the-simplest-way-to-make-tooltips-
           in-tkinter/36221216#36221216 </s> remove     ''' Tabs to hold the command options '''
    def __init__(self, gui, notebook, command):
        self.gui = gui
 </s> add     """ Tabs to hold the command options """

    def __init__(self, utils, notebook, command):
        self.utils = utils </s> remove         fileopn = tk.Button(frame, image=img, command=lambda cmd=action: cmd(filepath))
        fileopn.pack(side=tk.RIGHT)
 </s> add         fileopn = ttk.Button(frame, image=img,
                             command=lambda cmd=action: cmd(filepath))
        fileopn.pack(padx=(0, 5), side=tk.RIGHT) </s> remove         ''' Add correct file browser button for control '''
        img = getattr(self.gui, 'ico' + sysbrowser)
 </s> add         """ Add correct file browser button for control """
        img = self.utils.icons[sysbrowser] </s> remove class ActionFrame(object):
    '''Action Frame - Displays information and action controls '''
    def __init__(self, gui, page, command):
        self.gui = gui
        self.page = page
        self.command = command
        self.title = command.title()
 </s> add class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
          ''' Add the section utility buttons '''
          utlframe = tk.Frame(frame)
          utlframe.pack(side=tk.TOP, pady=(5,0))
  




























  
  class CommandTab(object):
      ''' Tabs to hold the command options '''
      def __init__(self, gui, notebook, command):
          self.gui = gui
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
scripts/gui.py