39 ot->
name =
"Add Row Filter";
40 ot->
description =
"Add a filter to remove rows from the displayed data";
41 ot->
idname =
"SPREADSHEET_OT_add_row_filter_rule";
55 if (row_filter ==
nullptr) {
69 ot->
name =
"Remove Row Filter";
71 ot->
idname =
"SPREADSHEET_OT_remove_row_filter_rule";
102 ot->
name =
"Change Visible Data Source";
103 ot->
description =
"Change visible data source in the spreadsheet";
104 ot->
idname =
"SPREADSHEET_OT_change_spreadsheet_data_source";
110 "attribute_domain_type",
114 "Attribute Domain Type",
struct SpaceSpreadsheet * CTX_wm_space_spreadsheet(const bContext *C)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
bool ED_operator_spreadsheet_active(struct bContext *C)
Read Guarded memory(de)allocation.
#define ND_SPACE_SPREADSHEET
SpreadsheetRowFilter * spreadsheet_row_filter_new()
void spreadsheet_row_filter_free(SpreadsheetRowFilter *row_filter)
int RNA_int_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
static void SPREADSHEET_OT_remove_row_filter_rule(wmOperatorType *ot)
static int select_component_domain_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
static int row_filter_add_exec(bContext *C, wmOperator *UNUSED(op))
void spreadsheet_operatortypes()
static void SPREADSHEET_OT_add_row_filter_rule(wmOperatorType *ot)
static void SPREADSHEET_OT_change_spreadsheet_data_source(wmOperatorType *ot)
static int row_filter_remove_exec(bContext *C, wmOperator *op)
uint8_t geometry_component_type
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
bool(* poll)(struct bContext *) ATTR_WARN_UNUSED_RESULT
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
void WM_main_add_notifier(unsigned int type, void *reference)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))