mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02:00
tableview field editor delegates
This commit is contained in:
1 parent
5e1e94efd6
commit
f912d9f38d
7 files changed
+322
-89
No files matched your search
@@ -12,12 +12,20 @@ typedef struct W_TableColumn WMTableColumn;
|
||||
typedef struct W_TableView WMTableView;
|
||||
|
||||
|
||||
extern const char *WMTableViewRowWasSelectedNotification;
|
||||
extern const char *WMTableViewRowWasUnselectedNotification;
|
||||
|
||||
|
||||
typedef struct WMTableColumnDelegate {
|
||||
void *data;
|
||||
void (*drawCell)(struct WMTableColumnDelegate *self, WMTableColumn *column,
|
||||
int row);
|
||||
void (*editCell)(struct WMTableColumnDelegate *self, WMTableColumn *column,
|
||||
int row, XEvent *event);
|
||||
void (*drawSelectedCell)(struct WMTableColumnDelegate *self,
|
||||
WMTableColumn *column, int row);
|
||||
void (*beginCellEdit)(struct WMTableColumnDelegate *self, WMTableColumn *column,
|
||||
int row);
|
||||
void (*endCellEdit)(struct WMTableColumnDelegate *self, WMTableColumn *column,
|
||||
int row);
|
||||
} WMTableColumnDelegate;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user