Gnm.Dao¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Class Details¶
- class Gnm.Dao(*args, **kwargs)¶
- Bases:
- Abstract:
No
- classmethod adjust(dao, cols, rows)¶
-
shrinks the dao to the given cols/rows (or enlarges it if dao was a singleton)
- classmethod append_date(buf)¶
- Parameters:
buf (
GLib.String)
- classmethod autofit_columns(dao)¶
- Parameters:
fits all columns to their content
- classmethod autofit_rows(dao)¶
- Parameters:
- classmethod autofit_these_columns(dao, from_col, to_col)¶
-
Fits the specified columns to their content
- classmethod command_descriptor(dao, format, result)¶
- Parameters:
format (
str)
- Return type:
Uses format to provide a string to be used as command descriptor for undo/redo
- classmethod find_name(sheet, col, row)¶
- classmethod format_output(dao, cmd)¶
- Parameters:
cmd (
str)
- Return type:
Formats the output range according to the settings
- classmethod free(dao)¶
- Parameters:
- classmethod get_rangeref(dao, ax, ay, bx, by)¶
- classmethod go_data_vector(dao, ax, ay, bx, by)¶
- classmethod new(wbcg, inplace_str)¶
- Parameters:
wbcg (
Gnm.WBCGtk)inplace_str (
str)
- Return type:
- classmethod prepare_output(wbc, dao, name)¶
- Parameters:
wbc (
Gnm.WorkbookControl)name (
str)
prepares the output by creating a new sheet or
GOffice.workbookas appropriate
- classmethod put_formulas(dao)¶
- Parameters:
- Return type:
- classmethod redraw_respan(dao)¶
- Parameters:
- classmethod set_align(dao, col1, row1, col2, row2, align_h, align_v)¶
- Parameters:
col1 (
int)row1 (
int)col2 (
int)row2 (
int)align_h (
Gnm.HAlign)align_v (
Gnm.VAlign)
set the given horizontal and vertical alignment to a cell range
- classmethod set_bold(dao, col1, row1, col2, row2)¶
-
sets the given cell range to bold
- classmethod set_border(dao, col1, row1, col2, row2, elem, border, color, orientation)¶
- Parameters:
col1 (
int)row1 (
int)col2 (
int)row2 (
int)elem (
Gnm.StyleElement)border (
Gnm.StyleBorderType)color (
Gnm.Color)orientation (
Gnm.StyleBorderOrientation)
- classmethod set_cell(dao, col, row, text)¶
-
set cell to a string
- classmethod set_cell_comment(dao, col, row, comment)¶
-
set a cell
Gnm.comment
- classmethod set_cell_float_na(dao, col, row, v, is_valid)¶
-
set cell to a gnm_float or NA as appropriate
- classmethod set_cell_value(dao, col, row, v)¶
-
set cell to a
GOffice.valueNote: the rows/cols specification for all dao_set_cell_… commands are relative to the location of the output
- classmethod set_colors(dao, col1, row1, col2, row2, fore, back)¶
- Parameters:
set the given cell range to given background and text colors
- classmethod set_date(dao, col1, row1, col2, row2)¶
-
set the given cell range to date format
- classmethod set_format(dao, col1, row1, col2, row2, format)¶
- Parameters:
set the given cell range to given format
- classmethod set_italic(dao, col1, row1, col2, row2)¶
-
sets the given cell range to italic
- classmethod set_merge(dao, col1, row1, col2, row2)¶
- classmethod set_percent(dao, col1, row1, col2, row2)¶
-
set the given cell range to percent format
- classmethod set_sheet_object(dao, col, row, so)¶
- Parameters:
col (
int)row (
int)so (
Gnm.SheetObject)
- classmethod surrender_so(dao)¶
- Parameters:
- Return type:
- classmethod write_header(dao, toolname, title, sheet)¶
- Parameters:
Writes the titles of a report.
- focus_output_range()¶
- get_data(dao)¶
- Parameters:
- Return type:
Signal Details¶
- Gnm.Dao.signals.activate(dao)¶