Skip to content

Add window::set_text_input_enabled() and window::is_text_input_enabled()#356

Merged
17cupsofcoffee merged 1 commit into
17cupsofcoffee:mainfrom
Tairesh:textinput-switch
Jul 22, 2026
Merged

Add window::set_text_input_enabled() and window::is_text_input_enabled()#356
17cupsofcoffee merged 1 commit into
17cupsofcoffee:mainfrom
Tairesh:textinput-switch

Conversation

@Tairesh

@Tairesh Tairesh commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

TextInput messages were enabled by default in #355. Recently I added some text fields to my game and found that it would be much more convenient to have ability to enable it only at specific scenes (or only when some gui text field is focused) and disable at others. So I added these two simple public API methods. Maybe it will be useful for someone else too.

@17cupsofcoffee 17cupsofcoffee left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@17cupsofcoffee
17cupsofcoffee merged commit ce0e493 into 17cupsofcoffee:main Jul 22, 2026
3 checks passed
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.

2 participants