Flags

Details

class GooCanvas.CanvasPointerEvents(value)

Bases: GObject.GFlags

Specifies when an item receives pointer events such as mouse clicks.

NONE = 0

the item doesn’t receive events at all.

VISIBLE_MASK = 1

a mask indicating that the item only receives events when it is visible.

ALL = 12

the item’s perimeter and interior receive events, whether it is visible or painted or not.

VISIBLE = 13

the item receives events when it is visible, whether it is painted or not.

PAINTED = 14

the item receives events in its painted areas, whether it is visible or not.

VISIBLE_PAINTED = 15

the item receives events in its painted areas when it is visible (the default).

PAINTED_MASK = 2

a mask indicating that the item only receives events when the specified parts of it are painted.

FILL = 4

the item’s interior receives events, whether it is visible or painted or not.

FILL_MASK = 4

a mask indicating that the filled part of the item receives events.

VISIBLE_FILL = 5

the item’s interior receives events when it is visible.

STROKE = 8

the item’s perimeter receives events, whether it is visible or painted or not.

STROKE_MASK = 8

a mask indicating that the stroked part of the item receives events.

VISIBLE_STROKE = 9

the item’s perimeter receives events when it is visible.