add some notes to uiTableSelection

This commit is contained in:
Ben Campbell 2018-08-18 10:49:34 +12:00
parent c148ee79da
commit ff3be31b9e
1 changed files with 3 additions and 0 deletions

3
ui.h
View File

@ -1463,6 +1463,9 @@ _UI_EXTERN void uiTableAppendButtonColumn(uiTable *t,
_UI_EXTERN void uiTableOnSelectionChanged(uiTable *t, void (*f)(uiTable *t, void *data), void *data);
// uiTableSelection holds an array of row indexes for a table.
// it's safe to fiddle with the Items data in place (eg a caller
// might want to sort them - that's ok). But probably best not to
// change NumItems or try to reallocate Items.
typedef struct uiTableSelection uiTableSelection;
struct uiTableSelection
{