38 Commits

Author SHA1 Message Date
Joshua Fehler 7aac6fffb6 Fix mimor typos 2025-02-15 16:08:25 -05:00
tinyboxvk 731cb8c53c Fix typos
Signed-off-by: tinyboxvk <13696594+tinyboxvk@users.noreply.github.com>
2025-02-06 18:18:43 -04:00
Tom Rothamel f3e1b12e61 doc: The addition of the as clause to use and custom screen language.
Closes #6041.
2025-01-16 19:18:19 -05:00
Gouvernathor 62d6e50a9e doc: tweaks, typos, whitespace, use the exc and file roles
fixes #5227
2024-01-05 00:14:06 +01:00
Tom Rothamel 99e00e43eb doc: The alt attribute of Buttons and BarValues.
Per #5054.
2023-11-20 00:40:12 -05:00
Gouvernathor 1436e3e4f1 doc: role issues and involuntary comments 2023-05-17 04:10:16 +02:00
Tom Rothamel 9ac23face8 The current screen shouldn't be a HIDE or OLD screen.
There are various actions and values that access displayables
in the current screen. Some of these might be run (for example,
BarValue.get_adjustment()) in a hiding or old(-state-of-transition)
screen.

Almost certainly, those values and actions want the displayables
that are present in the original screen, not the copy, and so
the value is redirected.

Fixes #3998.
2023-02-12 15:59:08 -05:00
Asriel Senna 79706e3489 doc: replace :ref: with :doc: wherever possible
This simplifies many cases where a page has a ref identifier distinct 
from its filename, which makes linking harder to understand when writing 
the doc.
Also, it solves a small scrolling problem in such cases.
Some links in changelog and changelog6 were left alone, and some .. _ 
identifiers too, to ensure compatibility.
2022-07-29 05:28:51 +02:00
Gouvernathor 4e859239aa doc: NotImplemented is not an exception
...and NotImplementedError is not even the exception being raised in that case, it's only Exception("Not implemented")
2022-06-30 11:40:54 +02:00
Asriel Senna cbd0080834 doc: unicode order of filepaths, not filenames 2022-06-28 02:34:18 +02:00
Gouvernathor ab4ce0e927 doc: add screen-python beacon 2022-05-27 03:06:13 +02:00
Gouvernathor 6b7aa8c6bc Remove creating screens with python and most ui functions from the documentation (#3547)
* Remove python creation of screens from the doc

* doc: Undocument various ui functions and renpy.define_screen

* doc: Move and rephrase renpy.predicting's documentation

* Clarify renpy.variant

and remove reference to screen creation and style setup

* doc: Remove unnecessary interstitial addition

* Changelog the removal of python screen creation
2022-05-25 19:33:58 -04:00
Andykl aa435a95cd Document a hint about **properties in SD SLS 2020-05-25 03:07:41 +02:00
Andy_kl 0ab0856e37 Doc for this 2019-08-06 04:17:31 +03:00
Andy_kl 7751d5603e Fix indention in doc 2019-07-11 02:35:49 +03:00
Tom Rothamel 718628e48a Add a get_tooltip method to Action and BarValue.
This allows actions to supply tooltips to buttons and bars,
keeping that logic in one place. Per #1868.
2019-06-09 20:14:32 -04:00
Craig Donson 820647de5f Correction to Unicode capitalization 2018-05-31 00:30:26 -04:00
Craig Donson 392a3fead1 Minor documentation corrections 2018-05-30 03:19:14 -04:00
Tom Rothamel f1fbbc740d doc: Fix encoding issues and other errors. 2018-05-29 11:41:17 -04:00
Craig Donson 099c372b28 Additional documentation corrections 2018-05-27 16:30:25 -04:00
Tom Rothamel 251deaf7ea Fix various documentation problems. 2017-08-24 23:11:35 -04:00
Tom Rothamel b268d0e768 doc: Better describe why SL is better than UI functions.
Fixes #1196.
2017-06-07 23:12:04 -04:00
Tom Rothamel 3929511af6 More InputValue improvements.
* When get_text changes, the contents of the input also changes.
* If InputValue.editable is False, editing is disabled.
2016-03-04 00:31:47 -05:00
Tom Rothamel 0d779002bc Use InputValues to handle Input focus.
At most one InputValue can be focused at a time. This is enforced
by Ren'Py, and can be used along with buttons to handle switching
between multiple Inputs.
2016-03-03 22:37:47 -05:00
Tom Rothamel 0638d31cfc Add the concept of an input value.
This is similar to a bar value, except it's taken by an input,
rather than a bar. An input value has:

* A method that returns a default value for the input.
* A method that is called when the input text changes.
* A method that is called when the user presses enter.
* A method that's called to determine if the input should be
  considered editable.

InputValue objects also have methods that return actions that
enable, disable, and toggle editing.
2016-03-03 00:20:55 -05:00
Tom Rothamel 1da4ecb5c9 Document renpy.run.
This function was previously exposed as renpy.run_action. It's now
properly documented and exposed as renpy.run, with the old name
left around as an alias.
2016-01-01 00:24:41 -05:00
Tom Rothamel 6fbfc49fe8 Fix docs. 2015-12-22 01:19:10 -05:00
Rikxz 9b77cba97e Added deprecation warnings on UI Functions 2015-10-25 19:29:30 -05:00
Tom Rothamel a947e784a2 sl2: Document use-transclude and creator-defined sl statements. 2015-05-09 16:38:37 -04:00
Koichi Akabe 413c2dee85 Fix many typos in the documentation
Following documents are checked:
* label
* language_basics
* license
* menus
* modes
* movie
* nvl_mode
* other
* persistent
* problems
* python
* quickstart
* reserved
* rooms
* save_load_rollback
* screen_actions
* screen_python
* screen_special
* screens
* side_image
2014-06-14 01:21:12 +09:00
Tom Rothamel 378d0cab7b Fix docs. 2014-03-01 10:52:35 -05:00
Tom Rothamel 0c74863be9 Remove spurious whitespace. 2013-07-14 12:00:15 -04:00
Tom Rothamel 097479d0b0 Actions now can have an :method:Action.unhovered method. This method is
called when an action supplied as a `hovered` parameter loses focus.

Error handling now uses tooltips.
2011-03-31 11:54:33 -04:00
Tom Rothamel 7ac06761d6 Add MouseArea/mousearea. Add spritemanager to screen language. 2011-01-15 16:59:47 -05:00
Tom Rothamel 70ed15e5ac Add If function. 2010-08-04 00:59:09 -04:00
Tom Rothamel 556ca0611a Add has statement. 2010-07-11 17:25:46 -04:00
Tom Rothamel eb0d6b696e Adds label and ui.label. 2010-07-07 02:42:40 -04:00
Tom Rothamel 49e9560e91 Rename docs a bit more.
Add dlls to distribute.py files.
2010-06-25 01:56:09 -04:00