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

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

src/g/r/gramps-3.4.2/src/plugins/import/ImportXml.py   Gramps(Download)
            # DTD: most deeply nested elements come first.
            if self.citation:
                self.note.type.set(gen.lib.NoteType.CITATION)
                self.note.private = self.citation.private
            elif self.address:
        note.private = self.citation.private
        note.set(text)
        note.type.set(gen.lib.NoteType.CITATION)
        self.db.add_note(note, self.trans)
        #set correct change time

src/g/r/gramps-3.4.2/src/gui/editors/editcitation.py   Gramps(Download)
        self.comment_tab = NoteTab(self.dbstate, self.uistate, self.track,
                    self.obj.get_note_list(), self.get_menu_title(),
                    notetype=gen.lib.NoteType.CITATION)
        self._add_tab(notebook_ref, self.comment_tab)
        self.track_ref_for_deletion("comment_tab")