def __init__(self, pdata, dbstate, uistate): """ Create a DashboardView, with the current dbstate and uistate """ PageView.__init__(self, _('Dashboard'), pdata, dbstate, uistate) self.ui_def = [ ] # No special menu for Dashboard, Popup in GrampletPane
def __init__(self, title, pdata, state, uistate, bm_type, nav_group): PageView.__init__(self, title, pdata, state, uistate) self.bookmarks = bm_type(self.dbstate, self.uistate, self.bm_change) self.fwd_action = None self.back_action = None self.book_action = None self.other_action = None self.active_signal = None self.mru_signal = None self.nav_group = nav_group self.mru_active = DISABLED self.uimanager = uistate.uimanager self.history = History(self.dbstate) self.hist = {} for hist_type in ('Person', 'Event'): self.hist[hist_type] = self.uistate.get_history(hist_type) self.hist[hist_type].connect('active-changed', self.sync(hist_type))
def __init__(self, pdata, dbstate, uistate): """ Create a DashboardView, with the current dbstate and uistate """ PageView.__init__(self, _("Dashboard"), pdata, dbstate, uistate) self.ui_def = """<ui>
def __init__(self, pdata, dbstate, uistate): """ Create a DashboardView, with the current dbstate and uistate """ PageView.__init__(self, _('Dashboard'), pdata, dbstate, uistate) self.ui_def = [] # No special menu for Dashboard, Popup in GrampletPane
def __init__(self, pdata, dbstate, uistate): """ Create a DashboardView, with the current dbstate and uistate """ PageView.__init__(self, _('Dashboard'), pdata, dbstate, uistate) self.ui_def = '''<ui>