'One simple class to create other windows.'

def __init__(self, type=gtk.WINDOW_TOPLEVEL):

    super(SimpleBaseWindow, self).__init__(type=type)
    self.connect('delete-event', self._handle_cancel)
    self.connect('destroy', self._handle_cancel)
    self.set_icon_from_file(W3AF_ICON)
