Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
        # If possible, attach the note to the relevant object
        if obj:
            obj.add_note(new_note.get_handle())
 
    def _backup(self):
                self.dbase.add_note(new_note, self.trans)
                self.__skip_subordinate_levels(state.level+2, state)
                state.event.add_note(new_note.get_handle())
 
    def __event_source(self, line, state):
        self.dbase.add_note(note, self.trans)
 
        state.source.add_note(note.get_handle())
 
    def __citation_data_text(self, line, state):
        self.dbase.add_note(note, self.trans)
 
        state.citation.add_note(note.get_handle())
 
    def __citation_data_note(self, line, state):
 
                self.dbase.commit_note(new_note, self.trans, new_note.change)
                obj.add_note(new_note.get_handle())
 
    #----------------------------------------------------------------------