      def execute_task(self, command):
          ''' Execute the task in Faceswap.py '''
          self.task.execute_script(self.opts, command, self.parser, self.statustext)
  
  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()
  
      def build_frame(self):
          ''' Add help display and Action buttons to the left frame of each page '''
          frame = tk.Frame(self.page)
          frame.pack(fill=tk.X, padx=(10,5), side=tk.LEFT, anchor=tk.N)
 
</s> remove     def build_frame(self):
        ''' Add help display and Action buttons to the left frame of each page '''
        frame = tk.Frame(self.page)
        frame.pack(fill=tk.X, padx=(10,5), side=tk.LEFT, anchor=tk.N)
 </s> add     Adapted from StackOverflow: </s> remove     def execute_task(self, command):
        ''' Execute the task in Faceswap.py '''
        self.task.execute_script(self.opts, command, self.parser, self.statustext)
 </s> add  </s> remove     def add_frame_seperator(self):
        ''' Add a seperator between left and right frames '''
        sep = tk.Frame(self.page, width=2, bd=1, relief=tk.SUNKEN)
        sep.pack(fill=tk.Y, padx=5, side=tk.LEFT)
 </s> add     def add_frame_separator(self):
        """ Add a separator between left and right frames """
        sep = ttk.Frame(self.page, height=2, relief=tk.RIDGE)
        sep.pack(fill=tk.X, pady=(5, 0), side=tk.BOTTOM)

class OptionsFrame(object):
    """ Options Frame - Holds the Options for each command """

    def __init__(self, utils, page, command):
        self.utils = utils
        self.page = page
        self.command = command </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
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
      def execute_task(self, command):
          ''' Execute the task in Faceswap.py '''
          self.task.execute_script(self.opts, command, self.parser, self.statustext)
  
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
class Tooltip:
    """
    Create a tooltip for a given widget as the mouse goes on it.
  
      def build_frame(self):
          ''' Add help display and Action buttons to the left frame of each page '''
          frame = tk.Frame(self.page)
          frame.pack(fill=tk.X, padx=(10,5), side=tk.LEFT, anchor=tk.N)
keep keep keep keep 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