示例#1
0
 def release_display(self):
     quartz.CGDisplayRelease(self._cg_display_id)
示例#2
0
 def restore_mode(self):
     quartz.CGDisplaySetDisplayMode(self._cg_display_id,
                                    self._default_mode.cgmode, None)
     quartz.CGDisplayRelease(self._cg_display_id)