|
17.
|
|
|
If not None, the input is limited to being this many pixels wide, in the font used by the input to display text.
|
|
|
|
If not None, the input is limited to being this many pixels wide, in the font used by the input to display text.
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/inc/input:27
|
|
18.
|
|
|
Code that uses renpy.input will often want to process the result further, using standard python string manipulation functions. For example, the following code will ask the player for his or her name and remove leading or trailing whitespace. If the name is empty, it will be replaced by a default name. Finally, it is displayed to the user. ::
|
|
|
|
Code that uses renpy.input will often want to process the result further, using standard python string manipulation functions. For example, the following code will ask the player for his or her name and remove leading or trailing whitespace. If the name is empty, it will be replaced by a default name. Finally, it is displayed to the user. ::
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/input.rst:21
|