Пример #1
0
 def get_page_setup(self):
     #  This property is initialised lazily, because on Windows it turn out
     #  that calling PageSetupDlg() before the application's first window is
     #  created causes the app not to be brought to the foreground initially.
     ps = self._page_setup
     if not ps:
         ps = PageSetup()
         self._page_setup = ps
     return ps
Пример #2
0
 def get_page_setup(self):
     ps = self._page_setup
     if not ps:
         ps = PageSetup()
         self._page_setup = ps
     return ps