GOffice.GraphObjectRole

Fields

Name

Type

Access

Description

allocate

object

r

optional allocator, g_object_new() is used if None.

allowable_positions

int

r/w

allowed positions inside parent.

can_add

object

r

return True if a new child can be added.

can_remove

object

r

return True if the child can be removed.

default_position

GOffice.GraphObjectPosition

r/w

default position.

id

str

r/w

id for persistence.

is_a_typename

str

r/w

type name.

naming_conv

GOffice.GraphObjectNamingConv

r/w

naming convention.

post_add

object

r

called after adding the child.

post_remove

object

r

called after removing the child.

pre_remove

object

r

called before removing the child.

priority

int

r/w

priority.

Methods

None

Details

class GOffice.GraphObjectRole

Describes allowable children for a GOffice.GraphObject.