|
@@ -13219,26 +13219,28 @@
|
|
<argument index="0" name="align" type="int">
|
|
<argument index="0" name="align" type="int">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
- Set the alignmend mode to any of the ALIGN_* enumeration values.
|
|
|
|
|
|
+ Sets the alignment mode to any of the ALIGN_* enumeration values.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_align" qualifiers="const">
|
|
<method name="get_align" qualifiers="const">
|
|
<return type="int">
|
|
<return type="int">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
- Return the alignmend mode (any of the ALIGN_* enumeration values).
|
|
|
|
|
|
+ Return the alignment mode (any of the ALIGN_* enumeration values).
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="set_valign">
|
|
<method name="set_valign">
|
|
<argument index="0" name="valign" type="int">
|
|
<argument index="0" name="valign" type="int">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
|
|
+ Sets the vertical alignment mode to any of the VALIGN_* enumeration values.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_valign" qualifiers="const">
|
|
<method name="get_valign" qualifiers="const">
|
|
<return type="int">
|
|
<return type="int">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
|
|
+ Return the vertical alignment mode (any of the VALIGN_* enumeration values).
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="set_text">
|
|
<method name="set_text">
|
|
@@ -13269,16 +13271,32 @@
|
|
Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]).
|
|
Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]).
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
|
|
+ <method name="set_clip_text">
|
|
|
|
+ <argument index="0" name="enable" type="bool">
|
|
|
|
+ </argument>
|
|
|
|
+ <description>
|
|
|
|
+ Cuts off the rest of the text if it is too wide.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="is_clipping_text" qualifiers="const">
|
|
|
|
+ <return type="bool">
|
|
|
|
+ </return>
|
|
|
|
+ <description>
|
|
|
|
+ Return true if text would be cut off if it is too wide.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
<method name="set_uppercase">
|
|
<method name="set_uppercase">
|
|
<argument index="0" name="enable" type="bool">
|
|
<argument index="0" name="enable" type="bool">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
|
|
+ Display text in all capitals.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="is_uppercase" qualifiers="const">
|
|
<method name="is_uppercase" qualifiers="const">
|
|
<return type="bool">
|
|
<return type="bool">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
|
|
+ Return true if text is displayed in all capitals.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_line_height" qualifiers="const">
|
|
<method name="get_line_height" qualifiers="const">
|
|
@@ -13299,24 +13317,63 @@
|
|
<return type="int">
|
|
<return type="int">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
|
|
+ Return the total length of the text.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="set_visible_characters">
|
|
<method name="set_visible_characters">
|
|
- <argument index="0" name="arg0" type="int">
|
|
|
|
|
|
+ <argument index="0" name="amount" type="int">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
|
|
+ Restricts the number of characters to display. Set to -1 to disable.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="get_visible_characters" qualifiers="const">
|
|
|
|
+ <return type="int">
|
|
|
|
+ </return>
|
|
|
|
+ <description>
|
|
|
|
+ Return the restricted number of characters to display. Returns -1 if unrestricted.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="set_percent_visible">
|
|
<method name="set_percent_visible">
|
|
<argument index="0" name="percent_visible" type="float">
|
|
<argument index="0" name="percent_visible" type="float">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
|
|
+ Restricts the number of characters to display (as a percentage of the total text).
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_percent_visible" qualifiers="const">
|
|
<method name="get_percent_visible" qualifiers="const">
|
|
<return type="float">
|
|
<return type="float">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
|
|
+ Return the restricted number of characters to display (as a percentage of the total text).
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="set_max_lines_visible">
|
|
|
|
+ <argument index="0" name="lines_visible" type="int">
|
|
|
|
+ </argument>
|
|
|
|
+ <description>
|
|
|
|
+ Restricts the number of lines to display. Set to -1 to disable.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="get_max_lines_visible" qualifiers="const">
|
|
|
|
+ <return type="int">
|
|
|
|
+ </return>
|
|
|
|
+ <description>
|
|
|
|
+ Return the restricted number of lines to display. Returns -1 if unrestricted.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="set_lines_skipped">
|
|
|
|
+ <argument index="0" name="lines_skipped" type="int">
|
|
|
|
+ </argument>
|
|
|
|
+ <description>
|
|
|
|
+ Sets the number of lines to skip before displaying. Useful for scrolling text.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
|
|
+ <method name="get_lines_skipped" qualifiers="const">
|
|
|
|
+ <return type="int">
|
|
|
|
+ </return>
|
|
|
|
+ <description>
|
|
|
|
+ Return the the number of lines to skipped before displaying.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
</methods>
|
|
</methods>
|