Gnm.Dependent

Fields

Name

Type

Access

Description

flags

int

r/w

next_dep

Gnm.Dependent

r/w

prev_dep

Gnm.Dependent

r/w

sheet

Gnm.Sheet

r/w

texpr

Gnm.ExprTop

r/w

Methods

class

managed_get_expr (dep)

class

managed_init (dep, sheet)

class

managed_set_expr (dep, texpr)

class

managed_set_sheet (dep, sheet)

class

type_register (klass)

class

types_init ()

class

types_shutdown ()

add_dynamic_dep (rr)

debug_name (target)

has_pos ()

is_volatile ()

link ()

move (dx, dy)

pos ()

queue_recalc ()

set_expr (new_texpr)

set_sheet (sheet)

unlink ()

Details

class Gnm.Dependent
classmethod managed_get_expr(dep)
Parameters:

dep (Gnm.DepManaged) –

Return type:

Gnm.ExprTop

classmethod managed_init(dep, sheet)
Parameters:
classmethod managed_set_expr(dep, texpr)
Parameters:
classmethod managed_set_sheet(dep, sheet)
Parameters:
classmethod type_register(klass)
Parameters:

klass (Gnm.DependentClass) –

Return type:

int

classmethod types_init()
classmethod types_shutdown()
add_dynamic_dep(rr)
Parameters:

rr (Gnm.RangeRef) –

debug_name(target)
Parameters:

target (GLib.String) – location to append self's name.

Returns:

location to append self's name.

Return type:

target: GLib.String

A useful little debugging utility.

has_pos()
Return type:

bool

is_volatile()
Return type:

bool

Adds the dependent to the GOffice.workbook wide list of dependents.

move(dx, dy)
Parameters:
pos()
Return type:

Gnm.CellPos

queue_recalc()
set_expr(new_texpr)
Parameters:

new_texpr (Gnm.ExprTop) – new expression.

When the expression associated with self needs to change this routine dispatches to the virtual handler, unlinking self if necessary beforehand. Adds a ref to new_expr.

NOTE : it does NOT relink dependents in case they are going to move later.

set_sheet(sheet)
Parameters:

sheet (Gnm.Sheet) –

Removes the dependent from its container’s set of dependents and always removes the linkages to what it depends on.