def define_actions(self): """ Required define_actions function for NavigationView. Builds the action group information required. """ NavigationView.define_actions(self) HtmlView._define_actions_fw_bw(self)
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. """ NavigationView.define_actions(self) self._add_action('PrintView', self.printview, "<PRIMARY><SHIFT>P") self._add_action('PRIMARY-J', self.jump, '<PRIMARY>J')
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. As this function is overriden in some plugins, we need to call another method. """ NavigationView.define_actions(self) self._add_action('PrintView', self.printview, '<Primary>P')
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. As this function is overriden in some plugins, we need to call another method. """ NavigationView.define_actions(self) self.define_print_actions()
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. """ NavigationView.define_actions(self) self._add_action('PrintView', self.printview, "<PRIMARY>P") self._add_action('PRIMARY-J', self.jump, '<PRIMARY>J')
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. """ NavigationView.define_actions(self) self._add_action('PrintView', 'document-print', _("_Print..."), accel="<PRIMARY>P", tip=_("Print or save the Fan Chart View"), callback=self.printview)
def define_actions(self): """ Define action for the reference person button. """ NavigationView.define_actions(self) self.define_print_actions() self.ref_person = Gtk.ActionGroup(name=self.title + '/Selection') self.ref_person.add_actions([ ('RefPerson', 'gramps-person', _('reference _Person'), None , _("Select the person which is the reference for life ways"), self.selectPerson), ]) self._add_action_group(self.ref_person)
def define_actions(self): """ Define action for the reference family button. """ NavigationView.define_actions(self) self.define_print_actions() self.ref_family = Gtk.ActionGroup(self.title + '/Selection') self.ref_family.add_actions([ ('RefFamily', 'gramps-family', _('reference _Family'), None , _("Select the family which is the reference for life ways"), self.selectFamily), ]) self._add_action_group(self.ref_family)
def define_actions(self): """ Define action for the reference person button. """ NavigationView.define_actions(self) self.define_print_actions() self.ref_person = Gtk.ActionGroup(name=self.title + '/Selection') self.ref_person.add_actions([ ('RefPerson', 'gramps-person', _('reference _Person'), None, _("Select the person which is the reference for life ways"), self.select_person), ]) self._add_action_group(self.ref_person)
def define_actions(self): """ Required define_actions function for PageView. Builds the action group information required. We extend beyond the normal here, since we want to have more than one action group for the PersonView. Most PageViews really won't care about this. Special action groups for Forward and Back are created to allow the handling of navigation buttons. Forward and Back allow the user to advance or retreat throughout the history, and we want to have these be able to toggle these when you are at the end of the history or at the beginning of the history. """ NavigationView.define_actions(self) self._add_action('FilterEdit', None, _('Person Filter Editor'), callback=self.filter_editor)