admin管理员组文章数量:1123688
I am working with tabular data and I want to be able to edit individual cells by clicking on them using the editor widget that is fixed to the top of the cells in my UI (like excel or google spreadsheets). However right now I have to click on a cell and then select the editor to start editing it because it does not automatically get focused when a cell gets pressed. How can I make it so that when I click on a cell the editor is automatically focused and I can immediately start editing the content inside it.
I would also like to de focus the editor when I press enter to indicate that the editing of that cell is complete.
From what I found, people have forked Iced rs to implement focus but I was wondering if there is an easier way? If not should I be using a different GUI framework?
本文标签: How to focus texteditor in rust IcedStack Overflow
版权声明:本文标题:How to focus text_editor in rust Iced - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736586165a1945014.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论