Ejemplo n.º 1
0
    def requestDOIInformationCallback(self, p1, p2):
        text = DoiLookup.getDOIInformation(self.doi)
        self.text.get_buffer().insert_at_cursor('\nDOI Information: \n')

        for k,v in text.items():
            self.text.get_buffer().insert_at_cursor("%-*s: %s\n" % (15, k, v))
Ejemplo n.º 2
0
    def requestDOIInformationCallback(self, p1, p2):
        text = DoiLookup.getDOIInformation(self.doi)
        self.text.get_buffer().insert_at_cursor('\nDOI Information: \n')

        for k, v in text.items():
            self.text.get_buffer().insert_at_cursor("%-*s: %s\n" % (15, k, v))