Skip to content

Conversation

szanni
Copy link

@szanni szanni commented Sep 21, 2020

Proposal to add a new API function to set a callback for when a user double clicks a table row.

void uiTableOnRowDoubleClicked(uiTable *t, void (*f)(uiTable *t, int row, void *data), void *data);

Implementations provided for darwin, unix, and windows. A small sample usage is provided in page16.

Only thing I'm not quite sure about is the naming. Alternatives would be uiTableRowOnDoubleClicked or instead of DoubleClicked use Activated if we should ever want to support single click activation and disable row selection?

uiTableOnRowDoubleClicked

Implementations provided for darwin, unix, and windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant