Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.types.SCA_PythonKeyboard.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59a3d99efc2c350d7bfcde5994e3f00c6ba8f978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SCA_PythonKeyboard(PyObjectPlus)
================================

base class --- :class:`PyObjectPlus`

.. class:: SCA_PythonKeyboard(PyObjectPlus)

   The current keyboard.

   .. attribute:: events

      A dictionary containing the status of each keyboard event or key. (read-only).

      :type: dictionary {:ref:`keycode<keyboard-keys>`::ref:`status<input-status>`, ...}

   .. attribute:: active_events

      A dictionary containing the status of only the active keyboard events or keys. (read-only).

      :type: dictionary {:ref:`keycode<keyboard-keys>`::ref:`status<input-status>`, ...}


   .. method:: getClipboard()

      Gets the clipboard text.

      :rtype: string

   .. method:: setClipboard(text)

      Sets the clipboard text.

      :arg text: New clipboard text
      :type text: string