コード例 #1
0
ファイル: main.py プロジェクト: martinmenardca/calibre
 def print_book(self):
     if self.iterator is None:
         return error_dialog(self,
                             _('No book opened'),
                             _('Cannot print as no book is opened'),
                             show=True)
     from calibre.gui2.viewer.printing import print_book
     print_book(self.iterator.pathtoebook, self, self.current_title)
コード例 #2
0
ファイル: main.py プロジェクト: Solertis/calibre
 def print_book(self):
     if self.iterator is None:
         return error_dialog(self, _('No book opened'), _(
             'Cannot print as no book is opened'), show=True)
     from calibre.gui2.viewer.printing import print_book
     print_book(self.iterator.pathtoebook, self, self.current_title)
コード例 #3
0
 def print_book(self):
     from calibre.gui2.viewer.printing import print_book
     print_book(self.iterator.pathtoebook, self, self.current_title)