GOffice.CanvasText

g GObject.GInterface GObject.GInterface GOffice.StyledObject GOffice.StyledObject GObject.GInterface->GOffice.StyledObject GObject.Object GObject.Object GOffice.CanvasItem GOffice.CanvasItem GObject.Object->GOffice.CanvasItem GOffice.CanvasStyledItem GOffice.CanvasStyledItem GOffice.CanvasItem->GOffice.CanvasStyledItem GOffice.CanvasText GOffice.CanvasText GOffice.CanvasStyledItem->GOffice.CanvasText GOffice.StyledObject->GOffice.CanvasStyledItem

Subclasses:

None

Methods

Inherited:

GOffice.CanvasStyledItem (3), GOffice.CanvasItem (22), GObject.Object (37), GOffice.StyledObject (8)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GOffice.CanvasStyledItem (2), GOffice.CanvasItem (17), GObject.Object (7)

Properties

Inherited:

GOffice.CanvasStyledItem (2), GOffice.CanvasItem (2)

Name

Type

Flags

Short Description

attributes

Pango.AttrList

r/w

The attributes list as a Pango.AttrList

clip

bool

r/w

Whether to clip or not

clip-height

float

r/w

Clip height for the text

clip-width

float

r/w

Clip width for the text

rotation

float

r/w

The rotation around the anchor

text

str

r/w

The text to display

wrap-width

float

r/w

Wrap width for the text

x

float

r/w

The text horizontal position

y

float

r/w

The text position

Signals

Inherited:

GOffice.CanvasStyledItem (1), GObject.Object (1)

Fields

Inherited:

GOffice.CanvasStyledItem (1), GObject.Object (1)

Name

Type

Access

Description

anchor

GOffice.AnchorType

r

attributes

Pango.AttrList

r

base

GOffice.CanvasStyledItem

r

clip_height

float

r

clip_width

float

r

clipped

bool

r

h

float

r

priv

object

r

rotation

float

r

text

str

r

w

float

r

wrap_width

float

r

x

float

r

y

float

r

Class Details

class GOffice.CanvasText(**kwargs)
Bases:

GOffice.CanvasStyledItem

Abstract:

No

Property Details

GOffice.CanvasText.props.attributes
Name:

attributes

Type:

Pango.AttrList

Default Value:

None

Flags:

READABLE, WRITABLE

The attributes list as a Pango.AttrList

GOffice.CanvasText.props.clip
Name:

clip

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether to clip or not

GOffice.CanvasText.props.clip_height
Name:

clip-height

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Clip height for the text

GOffice.CanvasText.props.clip_width
Name:

clip-width

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Clip width for the text

GOffice.CanvasText.props.rotation
Name:

rotation

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rotation around the anchor

GOffice.CanvasText.props.text
Name:

text

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The text to display

GOffice.CanvasText.props.wrap_width
Name:

wrap-width

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Wrap width for the text

GOffice.CanvasText.props.x
Name:

x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The text horizontal position

GOffice.CanvasText.props.y
Name:

y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The text position