mirror of https://github.com/kivy/kivy.git
Merge pull request #1754 from Zen-CODE/request_keyboard
doc: revisions to core/windows/__init__.py
This commit is contained in:
commit
cffcd8d44f
|
@ -926,14 +926,11 @@ class WindowBase(EventDispatcher):
|
||||||
closed. This can be because somebody else requested the
|
closed. This can be because somebody else requested the
|
||||||
keyboard or the user closed it.
|
keyboard or the user closed it.
|
||||||
`target`: Widget
|
`target`: Widget
|
||||||
Attach the keyboard to the specified target. Ensure you have a
|
Attach the keyboard to the specified `target`. This should be
|
||||||
|
the widget that requested the keyboard. Ensure you have a
|
||||||
different target attached to each keyboard if you're working in
|
different target attached to each keyboard if you're working in
|
||||||
a multi user mode.
|
a multi user mode.
|
||||||
|
|
||||||
`target` must be the widget source that requested the keyboard
|
|
||||||
and must have a method named `on_keyboard_text` that will be
|
|
||||||
called by the vkeyboard.
|
|
||||||
|
|
||||||
.. versionadded:: 1.0.8
|
.. versionadded:: 1.0.8
|
||||||
|
|
||||||
`input_type`: string
|
`input_type`: string
|
||||||
|
|
Loading…
Reference in New Issue