Gnm.Scenario

g GObject.Object GObject.Object Gnm.Scenario Gnm.Scenario GObject.Object->Gnm.Scenario

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (name, sheet)

add_area (sr)

apply ()

dup (new_sheet)

get_range_str ()

set_comment (comment)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

comment

str

r

items

[object]

r

name

str

r

parent

GObject.Object

r

sheet

Gnm.Sheet

r

Class Details

class Gnm.Scenario(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gnm.ScenarioClass

classmethod new(name, sheet)
Parameters:
Return type:

Gnm.Scenario

add_area(sr)
Parameters:

sr (Gnm.SheetRange) –

apply()
Returns:

the newly allocated GOffice.Undo.

Return type:

GOffice.Undo

dup(new_sheet)
Parameters:

new_sheet (Gnm.Sheet) – Gnm.Sheet

Returns:

the duplicated scenario.

Return type:

Gnm.Scenario

get_range_str()
Return type:

str

set_comment(comment)
Parameters:

comment (str) –