Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new API function to set a table row double click callback. #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant