GooCanvas.CanvasItemSimpleData

Fields

Name

Type

Access

Description

cache_setting

int

r

can_focus

int

r/w

if the item can take the keyboard focus.

clip_fill_rule

int

r/w

the cairo.FillRule setting specifying the fill rule used for the clip path.

clip_path_commands

[object]

r/w

an array of GooCanvas.CanvasPathCommand specifying the clip path of the item, or None.

has_tooltip

int

r

is_static

int

r/w

if the item is static.

own_style

int

r/w

if the item has its own style, rather than using its parent’s.

pointer_events

int

r/w

the GooCanvas.CanvasPointerEvents setting specifying the events the item should receive.

style

GooCanvas.CanvasStyle

r/w

the style to draw with.

tooltip

str

r/w

the item’s tooltip.

transform

cairo.Matrix

r/w

the transformation matrix of the item, or None.

visibility

int

r/w

the GooCanvas.CanvasItemVisibility setting specifying whether the item is visible, invisible, or visible above a given canvas scale setting.

visibility_threshold

float

r/w

the threshold scale setting at which to show the item (if the visibility setting is set to %VISIBLE_ABOVE_THRESHOLD).

Methods

None

Details

class GooCanvas.CanvasItemSimpleData

This is the data common to both the model and view classes.