Hi
I'm not sure i understand, if you want a disabled TextInput, why not use
the `readonly` property of TextInput? Or did i get your question wrong?
http://kivy.org/docs/api-kivy.uix.textinput.html#kivy.uix.textinput.TextInput.readonly
On Thu, Jan 31, 2013 at 04:01:39PM -0800,
com...@motaj.com wrote:
> Hi, I've got a TextInput widget and I'd like to disable the keyboard on
> Android upon focussing the widget (so that the user may not enter anythin
> in the widget and also it can get annoying to have to always press the back
> button on the device to hide the keyboard). I've tried the following but it
> doesn't work (the keyboard is still displayed):
>
> In .kv:
>
> TextInput:
> on_focus: root.release_kb()
>
> In .py
> def root.release_kb(self):
> Window.release_all_keyboards()
>
>
> --
> You received this message because you are subscribed to the Google Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
kivy-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>