Skip to content

Conversation

@tbabej
Copy link

@tbabej tbabej commented Apr 10, 2021

Emit signals on change of focus to enable hooking handlers for focusin and focusout events on particular widgets.

@pfalcon
Copy link
Owner

pfalcon commented Apr 10, 2021

Thanks, but why?

@tbabej
Copy link
Author

tbabej commented Apr 10, 2021

In my particular case, I am designing a dialog where "hovering" over a particular checkbox should display help text explaining that particular choice in more detail - which is implemented through a label text.

@pfalcon
Copy link
Owner

pfalcon commented Apr 24, 2021

Thanks for explanation, that indeed may be useful in some cases. But there's no real mouse "hovering" in TUI (usually), and there's other known patterns to achieve that functionality (e.g. pressing F1 in a field to get a help dialog). So, I'm marking this as a "contrib", so the people interested in this functionality could add/pick it up.

@pfalcon
Copy link
Owner

pfalcon commented Apr 24, 2021

Btw, I'm planning to make some backwards-incompatible changes: #59. Feedback whether that should be 1.3/1.4 or 2.0 is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants