def _add_actions(self, action_group):
        BaseWindow._add_actions(self, action_group)

        action_group.add_actions([
            ('notebook-properties', gtk.STOCK_PROPERTIES, "Notebook _Properties", None,         None, self.on_notebook_properties),
            ('new-worksheet',       gtk.STOCK_NEW,        "_New Worksheet",       "<control>n", None, self.on_new_worksheet),
            ('new-library',         gtk.STOCK_NEW,        "New _Library",         "",           None, self.on_new_library),
            ('calculate-all',       gtk.STOCK_REFRESH,    "Calculate _All",       "<control><shift>Return",  None, self.on_calculate_all),
        ])
    def _add_actions(self, action_group):
        BaseWindow._add_actions(self, action_group)

        action_group.add_actions([
            ('notebook-properties', gtk.STOCK_PROPERTIES, "Notebook Prop_erties", None,         None, self.on_notebook_properties),
            ('new-worksheet',       gtk.STOCK_NEW,        "_New Worksheet",       "<control>n", None, self.on_new_worksheet),
            ('new-library',         gtk.STOCK_NEW,        "New _Library",         "",           None, self.on_new_library),
            ('calculate-all',       gtk.STOCK_REFRESH,    "Calculate _All",       "<control><alt>Return",  None, self.on_calculate_all),
            ('switch-tab-1',        None,                 None,                   "<alt>1",     None, self.on_switch_tab),
            ('switch-tab-2',        None,                 None,                   "<alt>2",     None, self.on_switch_tab),
            ('switch-tab-3',        None,                 None,                   "<alt>3",     None, self.on_switch_tab),
            ('switch-tab-4',        None,                 None,                   "<alt>4",     None, self.on_switch_tab),
            ('switch-tab-5',        None,                 None,                   "<alt>5",     None, self.on_switch_tab),
            ('switch-tab-6',        None,                 None,                   "<alt>6",     None, self.on_switch_tab),
            ('switch-tab-7',        None,                 None,                   "<alt>7",     None, self.on_switch_tab),
            ('switch-tab-8',        None,                 None,                   "<alt>8",     None, self.on_switch_tab),
            ('switch-tab-9',        None,                 None,                   "<alt>9",     None, self.on_switch_tab),
            ('switch-tab-10',       None,                 None,                   "<alt>0",     None, self.on_switch_tab)
        ])
    def _add_actions(self, action_group):
        BaseWindow._add_actions(self, action_group)

        action_group.add_actions([
            ('notebook-properties', gtk.STOCK_PROPERTIES,
             "Notebook Prop_erties", None, None, self.on_notebook_properties),
            ('new-worksheet', gtk.STOCK_NEW, "_New Worksheet", "<control>n",
             None, self.on_new_worksheet),
            ('new-library', gtk.STOCK_NEW, "New _Library", "", None,
             self.on_new_library),
            ('calculate-all', gtk.STOCK_REFRESH, "Calculate _All",
             "<control><alt>Return", None, self.on_calculate_all),
            ('switch-tab-1', None, None, "<alt>1", None, self.on_switch_tab),
            ('switch-tab-2', None, None, "<alt>2", None, self.on_switch_tab),
            ('switch-tab-3', None, None, "<alt>3", None, self.on_switch_tab),
            ('switch-tab-4', None, None, "<alt>4", None, self.on_switch_tab),
            ('switch-tab-5', None, None, "<alt>5", None, self.on_switch_tab),
            ('switch-tab-6', None, None, "<alt>6", None, self.on_switch_tab),
            ('switch-tab-7', None, None, "<alt>7", None, self.on_switch_tab),
            ('switch-tab-8', None, None, "<alt>8", None, self.on_switch_tab),
            ('switch-tab-9', None, None, "<alt>9", None, self.on_switch_tab),
            ('switch-tab-10', None, None, "<alt>0", None, self.on_switch_tab)
        ])
    def _add_actions(self, action_group):
        BaseWindow._add_actions(self, action_group)

        action_group.add_actions([("save-as", gtk.STOCK_SAVE_AS, None, None, None, self.on_save_as)])