Gnm.SheetView¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
ants |
[ |
r |
|
auto_expr_timer |
r |
||
base |
r |
||
controls |
[ |
r |
|
edit_pos |
r |
||
edit_pos_real |
r |
||
enable_insert_cells |
r |
||
enable_insert_cols |
r |
||
enable_insert_rows |
r |
||
first_tab_col |
r |
||
frozen_top_left |
r |
||
initial_top_left |
r |
||
reposition_selection |
r |
||
selection_content_changed |
r |
||
selection_mode |
r |
||
selections |
[ |
r |
|
selections_simplified |
[ |
r |
|
sheet |
r |
||
sv_wbv |
r |
||
unfrozen_top_left |
r |
||
view_mode |
r |
Class Details¶
- class Gnm.SheetView(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(sheet, wbv)¶
- Parameters:
sheet (
Gnm.Sheet) –wbv (
Gnm.WorkbookView) –
- Return type:
- classmethod weak_unref(ptr)¶
- Parameters:
ptr (
Gnm.SheetView) –
- attach_control(sc)¶
- Parameters:
sc (
Gnm.SheetControl) –
- cursor_set(edit, base_col, base_row, move_col, move_row, bound)¶
- detach_control(sc)¶
- Parameters:
sc (
Gnm.SheetControl) –
- dispose()¶
- editpos_in_filter()¶
- Returns:
Gnm.Filterthat overlaps the sv::edit_pos- Return type:
Gnm.FilterorNone
- editpos_in_slicer()¶
- Returns:
Gnm.SheetSlicerthat overlaps the sv::edit_pos- Return type:
- flag_selection_change()¶
flag the sheet as requiring an update to the status display
Will cause auto expressions to be updated
- flag_status_update_pos(pos)¶
- Parameters:
pos (
Gnm.CellPos) –
flag the view as requiring an update to the status display if the supplied cell location is the edit
Gnm.cursor, or part of the selected region.Will cause the format
Gnm.toolbar, the edit area, and the auto expressions to be updated if appropriate.
- flag_status_update_range(range)¶
-
flag the sheet as requiring an update to the status display if the supplied cell location contains the edit
Gnm.cursor, or intersects of the selected region.Will cause the format
Gnm.toolbar, the edit area, and the auto expressions to be updated if appropriate.
- flag_style_update_range(range)¶
- Parameters:
range (
Gnm.Range) – the range that is changing.
Flag style changes that will require updating the style indicators.
- freeze_panes(frozen_top_left, unfrozen_top_left)¶
- Parameters:
frozen_top_left (
Gnm.CellPosorNone) – top left corner of the frozen regionunfrozen_top_left (
Gnm.CellPosorNone) – top left corner of the unfrozen region
By definition the unfrozen region must be below the frozen. If frozen_top_left == unfrozen_top_left or frozen_top_left ==
Noneunfreeze
- make_cell_visible(col, row, couple_panes)¶
- panes_insdel_colrow(is_cols, is_insert, start, count)¶
- Parameters:
Adjust the positions of frozen panes as necessary to handle
Gnm.col/Gnm.rowinsertions and deletions. note this assumes that the ins/del operations have already set the flags that will force a resize.
- selection_copy(wbc)¶
- Parameters:
wbc (
Gnm.WorkbookControl) –- Return type:
- selection_cut(wbc)¶
- Parameters:
wbc (
Gnm.WorkbookControl) –- Return type:
- selection_extends_filter(f)¶
- Parameters:
f (
Gnm.Filter) –- Returns:
Gnm.Filterwhose rows intersect the rows of the current selection range to which the filter can be extended.- Return type:
- selection_intersects_filter_rows()¶
- Returns:
Gnm.Filterwhose rows intersect the rows of the current selection.- Return type:
Gnm.FilterorNone
- set_edit_pos(pos)¶
- Parameters:
pos (
Gnm.CellPos) –
- set_initial_top_left(col, row)¶
-
Sets the top left cell that a newly created sheet control should display. This corresponds to the top left cell visible in pane 0 (frozen or not). NOTE : the unfrozen_top_left != initial_top_left. Unfrozen is the first unfrozen cell, and corresponds to the _minimum_ cell in pane 0. However, the pane can scroll and may have something else currently visible as the top left.
- unant()¶
- update()¶
- weak_ref(ptr)¶
- Parameters:
ptr (
Gnm.SheetView) –