Gnm.Dependent¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
flags |
r/w |
||
next_dep |
r/w |
||
prev_dep |
r/w |
||
sheet |
r/w |
||
texpr |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gnm.Dependent¶
- classmethod managed_get_expr(dep)¶
- Parameters:
dep (
Gnm.DepManaged
) –- Return type:
- classmethod managed_init(dep, sheet)¶
- Parameters:
dep (
Gnm.DepManaged
) –sheet (
Gnm.Sheet
) –
- classmethod managed_set_expr(dep, texpr)¶
- Parameters:
dep (
Gnm.DepManaged
) –texpr (
Gnm.ExprTop
) –
- classmethod managed_set_sheet(dep, sheet)¶
- Parameters:
dep (
Gnm.DepManaged
) –sheet (
Gnm.Sheet
) –
- classmethod type_register(klass)¶
- Parameters:
klass (
Gnm.DependentClass
) –- Return type:
- 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.
- link()¶
Adds the dependent to the
GOffice.workbook
wide list of dependents.
- pos()¶
- Return type:
- 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.
- unlink()¶
Removes the dependent from its container’s set of dependents and always removes the linkages to what it depends on.