Gnm.Filter¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
fields |
[ |
r/w |
|
is_active |
r/w |
||
r |
r/w |
||
ref_count |
r/w |
||
sheet |
r/w |
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gnm.Filter¶
- classmethod new(sheet, r, attach)¶
- classmethod show_all(wbc)¶
- Parameters:
wbc (
Gnm.WorkbookControl) –
- dup(sheet)¶
- Parameters:
- Return type:
Duplicate self into sheet
- get_condition(i)¶
- Parameters:
i (
int) – zero-based index- Returns:
the i'th condition of self
- Return type:
- reapply()¶
Reapplies self after changes.
- ref()¶
- Return type:
- remove()¶
- set_condition(i, cond, apply)¶
- Parameters:
i (
int) –cond (
Gnm.FilterConditionorNone) –Gnm.FilterConditionapply (
bool) –
Change the i-th condition of self to cond. If apply is
True, self is used to set the visibility of the rows in self::sheetAbsorbs the reference to cond.
- unref()¶