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

Feature/canvas focus traversal #1762

Merged
merged 4 commits into from
Jan 11, 2021

Conversation

toaster
Copy link
Member

@toaster toaster commented Jan 10, 2021

Description:

This PR adds the functions FocusNext() and FocusPrevious() which already exist in the glCanvas as well as the testCanvas to the fyne.Canvas interface.
This allows to traverse through the focusable items programmatically and also eases the testing of the upcoming menu keyboard control feature.

In addition it adds focus managers to mobile canvas which reduces the lag that is addressed by #1625.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style.

@toaster toaster merged commit a92dd07 into fyne-io:develop Jan 11, 2021
@toaster toaster deleted the feature/canvas_focus_traversal branch January 11, 2021 00:29
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

2 participants