GOffice.Data¶
| Subclasses: | GOffice.DataMatrix,GOffice.DataScalar,GOffice.DataVector | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| date_conv() | |
| dup() | |
| emit_changed() | |
| eq(b) | |
| get_bounds(minimum, maximum) | |
| get_matrix_markup(row, column) | |
| get_matrix_size(n_rows, n_columns) | |
| get_matrix_string(row, column) | |
| get_matrix_value(row, column) | |
| get_n_dimensions() | |
| get_n_values() | |
| get_scalar_markup() | |
| get_scalar_string() | |
| get_scalar_value() | |
| get_values() | |
| get_vector_markup(column) | |
| get_vector_size() | |
| get_vector_string(column) | |
| get_vector_value(column) | |
| has_value() | |
| is_decreasing() | |
| is_increasing() | |
| is_valid() | |
| is_varying_uniformly() | |
| preferred_fmt() | |
| serialize(user) | |
| unserialize(str, user) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
| do_changed() | |
| do_date_conv() | |
| do_dup() | |
| do_emit_changed() | |
| do_eq(b) | |
| do_get_bounds(minimum, maximum) | |
| do_get_markup(coordinates) | |
| do_get_n_dimensions() | |
| do_get_sizes(sizes) | |
| do_get_string(coordinates) | |
| do_get_value(coordinates) | |
| do_get_values() | |
| do_is_valid() | |
| do_preferred_fmt() | |
| do_serialize(user) | |
| do_unserialize(str, user) | 
Properties¶
None
Class Details¶
- 
class GOffice.Data(**kwargs)¶
- Bases: - GObject.Object- Abstract: - Yes - Structure: - GOffice.DataClass- 
date_conv()¶
- Returns: - the date conventions used by the data, or - Noneif not determined.- Return type: - GOffice.DateConventions
 - 
dup()¶
- Returns: - A deep copy of self. - Return type: - GOffice.Data
 - 
emit_changed()¶
- protected utility to emit a ‘changed’ signal 
 - 
eq(b)¶
- Parameters: - b ( - GOffice.Data) –- GOffice.Data- Returns: - Trueif self and b are the same- Return type: - bool
 - 
get_matrix_markup(row, column)¶
- Parameters: - Return type: 
 - 
get_scalar_markup()¶
- Return type: - Pango.AttrList
 - 
get_vector_markup(column)¶
- Parameters: - column ( - int) –- Return type: - Pango.AttrList
 - 
preferred_fmt()¶
- Returns: - the fmt preferred by the data - Return type: - GOffice.Format- Caller is responsible for unrefing the result. 
 - 
serialize(user)¶
- Parameters: - user ( - objector- None) – a- objectdescribing the context.- Returns: - a string representation of the data source that the caller is responsible for freeing - Return type: - str- NOTE : This is the _source_ not the content. (I.e., this refers to the expression, not its current - GOffice.value.)
 - 
unserialize(str, user)¶
- Parameters: - Returns: - Falseon error.- Return type: - De-serializes the source information returned from - GOffice.Data.serialize.
 - 
do_changed() virtual¶
 - 
do_date_conv() virtual¶
- Returns: - the date conventions used by the data, or - Noneif not determined.- Return type: - GOffice.DateConventions
 - 
do_dup() virtual¶
- Returns: - A deep copy of src. - Return type: - GOffice.Data
 - 
do_emit_changed() virtual¶
- protected utility to emit a ‘changed’ signal 
 - 
do_eq(b) virtual¶
- Parameters: - b ( - GOffice.Data) –- GOffice.Data- Returns: - Trueif a and b are the same- Return type: - bool
 - 
do_get_markup(coordinates) virtual¶
- Parameters: - coordinates ( - int) –- Return type: - Pango.AttrList
 - 
do_preferred_fmt() virtual¶
- Returns: - the fmt preferred by the data - Return type: - GOffice.Format- Caller is responsible for unrefing the result. 
 - 
do_serialize(user) virtual¶
- Parameters: - user ( - objector- None) – a- objectdescribing the context.- Returns: - a string representation of the data source that the caller is responsible for freeing - Return type: - str- NOTE : This is the _source_ not the content. (I.e., this refers to the expression, not its current - GOffice.value.)
 
- 
Signal Details¶
- 
GOffice.Data.signals.changed(data)¶
- Signal Name: - changed- Flags: - RUN_LAST- Parameters: - data ( - GOffice.Data) – The object which received the signal