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/gui/configure.py   Gramps(Download)
        self.examplename.set_title('Dr.')
        self.examplename.set_first_name('Edwin Jose')
        examplesurname.set_prefix('von der')
        examplesurname.set_surname('Smith')
        examplesurname.set_connector('and')

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
        else:
            surn = gen.lib.Surname()
            surn.set_prefix(line.data.strip())
            surn.set_primary()
            state.name.set_surname_list([surn])

src/g/r/gramps-3.4.2/src/plugins/import/ImportXml.py   Gramps(Download)
    def start_surname(self, attrs):
        self.surname = gen.lib.Surname()
        self.surname.set_prefix(attrs.get("prefix", ""))
        self.surname.set_primary(attrs.get("prim", "1") == "1")
        self.surname.set_connector(attrs.get("connector", ""))

src/g/r/gramps-3.4.2/src/plugins/import/ImportProGen.py   Gramps(Download)
                name.add_surname(sname)
                if surname_prefix:
                    sname.set_prefix(surname_prefix)
                name.set_first_name(first_name)
                if recflds[call_name_ix]:

src/g/r/gramps-3.4.2/src/plugins/import/ImportVCard.py   Gramps(Download)
                prefix, sname = splitof_nameprefix(self.unesc(surname_str))
                surname.set_surname(sname.strip())
                surname.set_prefix(prefix.strip())
                name.add_surname(surname)