Cutout Overlay
Bug #341787 reported by
Vincent Vinet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tutorius |
Confirmed
|
Medium
|
Unassigned |
Bug Description
To focus the user into a specific part of the interface, it would be interesting to be able to add an overlay on top of the whole window, masking everything but the region of interest.
Changed in tutorius: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
As the sugar.tutorius. overlayer is currently implemented, it would be a matter of creating a widget similar to the overlayer. TextBubble but with a mask to capture events such as mouse clicks and setting its event mask to the non-interesting region. see http:// pygtk.org/ pygtk2reference /class- gtkwidget. html#method- gtkwidget- -input- shape-combine- mask. How the "mask" is actually drawn could be with cairo.fill() with an alpha of, say 0.5f.