示例#1
0
 def __getstate__(self):
     state = GPageSetup.__getstate__(self)
     state['_gtk_page_setup'] = get_gtk_state(self._gtk_page_setup)
     return state
示例#2
0
 def __getstate__(self):
     psd = self._win_psd
     state = GPageSetup.__getstate__(self)
     state['_win_devmode'] = wps.get_handle_contents(psd.hDevMode)
     state['_win_devnames'] = wps.get_handle_contents(psd.hDevNames)
     return state
示例#3
0
 def __getstate__(self):
     state = GPageSetup.__getstate__(self)
     data = NSKeyedArchiver.archivedDataWithRootObject_(self._ns_print_info)
     state['_ns_print_info'] = data.bytes()
     return state
示例#4
0
 def __getstate__(self):
     state = GPageSetup.__getstate__(self)
     data = NSKeyedArchiver.archivedDataWithRootObject_(self._ns_print_info)
     state['_ns_print_info'] = data.bytes()
     return state
 def __getstate__(self):
     psd = self._win_psd
     state = GPageSetup.__getstate__(self)
     state['_win_devmode'] = wps.get_handle_contents(psd.hDevMode)
     state['_win_devnames'] = wps.get_handle_contents(psd.hDevNames)
     return state