[Sugar-devel] [DESIGN] Frame icon to take a screenshot
Ignacio Rodríguez
nachoel01 at gmail.com
Tue Dec 3 06:25:46 EST 2013
Before taking screenshot the frame hides automatically
+ def _take_screenshot(self, frame_):
+ while frame_.is_visible():
+ return True
+
+ take_screenshot()
+ frame_.show()
After taking screenshot the frame show automatically
> is it using any kind of cues to know when the screenshot was taken?
No, I don't use signals! take_screenshot() never fails (Same code of Alt+1
shortcut)
Sorry for my bad english :(
Grettings,
Ignacio Rodríguez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131203/ea903a51/attachment-0001.html>
More information about the Sugar-devel
mailing list