'This create the notebook with all the options.
:return: The created notebook if more than one grouping'

def _createNotebook(self):

    tabs = []
    for o in self.options:
        t = o.get_tabid()
        if (t not in tabs):
            tabs.append(t)
    if (len(tabs) < 2):
        table = self._makeTable(self.options, None)
        return table
    nb = gtk.Notebook()
    for tab in tabs:
        options = [x for x in self.options if (x.get_tabid() == tab)]
        if (not tab):
            tab = 'General'
        label = gtk.Label(tab)
        prop = helpers.PropagateBufferPayload(self._changedLabelNotebook, label, tab)
        table = self._makeTable(options, prop)
        nb.append_page(table, label)
    nb.show()
    return nb
