Browse Source

classref: Sync with current source

Rémi Verschelde 9 years ago
parent
commit
2fbf4f563b
1 changed files with 62 additions and 2 deletions
  1. 62 2
      doc/base/classes.xml

+ 62 - 2
doc/base/classes.xml

@@ -16696,6 +16696,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
 			<description>
 			</description>
 		</method>
+		<method name="get_item_at_pos" qualifiers="const">
+			<return type="int">
+			</return>
+			<argument index="0" name="pos" type="Vector2">
+			</argument>
+			<description>
+			</description>
+		</method>
 		<method name="ensure_current_is_visible">
 			<description>
 			</description>
@@ -20679,6 +20687,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
 		</constant>
 		<constant name="NOTIFICATION_INSTANCED" value="20">
 		</constant>
+		<constant name="NOTIFICATION_DRAG_BEGIN" value="21">
+		</constant>
+		<constant name="NOTIFICATION_DRAG_END" value="22">
+		</constant>
 		<constant name="PAUSE_MODE_INHERIT" value="0">
 		</constant>
 		<constant name="PAUSE_MODE_STOP" value="1">
@@ -36072,8 +36084,12 @@ This method controls whether the position between two cached points is interpola
 		<method name="strip_edges">
 			<return type="String">
 			</return>
+			<argument index="0" name="left" type="bool" default="True">
+			</argument>
+			<argument index="1" name="right" type="bool" default="True">
+			</argument>
 			<description>
-			Return a copy of the string stripped of any non-printable character at the beginning and the end.
+			Return a copy of the string stripped of any non-printable character at the beginning and the end. The optional arguments are used to toggle stripping on the left and right edges respectively.
 			</description>
 		</method>
 		<method name="substr">
@@ -37083,7 +37099,7 @@ This method controls whether the position between two cached points is interpola
 			</description>
 		</method>
 		<method name="cursor_get_blink_enabled" qualifiers="const">
-			<return type="float">
+			<return type="bool">
 			</return>
 			<description>
 			Gets whether the text editor caret is blinking.
@@ -39359,6 +39375,22 @@ This method controls whether the position between two cached points is interpola
 			<description>
 			</description>
 		</method>
+		<method name="get_item_at_pos" qualifiers="const">
+			<return type="TreeItem">
+			</return>
+			<argument index="0" name="pos" type="Vector2">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="get_column_at_pos" qualifiers="const">
+			<return type="int">
+			</return>
+			<argument index="0" name="pos" type="Vector2">
+			</argument>
+			<description>
+			</description>
+		</method>
 		<method name="ensure_cursor_is_visible">
 			<description>
 			</description>
@@ -39409,6 +39441,18 @@ This method controls whether the position between two cached points is interpola
 			<description>
 			</description>
 		</method>
+		<method name="set_drop_mode_flags">
+			<argument index="0" name="flags" type="int">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="get_drop_mode_flags" qualifiers="const">
+			<return type="int">
+			</return>
+			<description>
+			</description>
+		</method>
 	</methods>
 	<signals>
 		<signal name="item_activated">
@@ -39467,6 +39511,12 @@ This method controls whether the position between two cached points is interpola
 		</constant>
 		<constant name="SELECT_MULTI" value="2">
 		</constant>
+		<constant name="DROP_MODE_DISABLED" value="0">
+		</constant>
+		<constant name="DROP_MODE_ON_ITEM" value="1">
+		</constant>
+		<constant name="DROP_MODE_INBETWEEN" value="2">
+		</constant>
 	</constants>
 	<theme_items>
 		<theme_item name="item_margin" type="int">
@@ -39491,6 +39541,8 @@ This method controls whether the position between two cached points is interpola
 		</theme_item>
 		<theme_item name="font_color" type="Color">
 		</theme_item>
+		<theme_item name="drop_position_color" type="Color">
+		</theme_item>
 		<theme_item name="arrow" type="Texture">
 		</theme_item>
 		<theme_item name="updown" type="Texture">
@@ -39820,6 +39872,8 @@ This method controls whether the position between two cached points is interpola
 			</argument>
 			<argument index="1" name="color" type="Color">
 			</argument>
+			<argument index="2" name="just_outline" type="bool" default="false">
+			</argument>
 			<description>
 			</description>
 		</method>
@@ -41860,6 +41914,12 @@ This method controls whether the position between two cached points is interpola
 			<description>
 			</description>
 		</method>
+		<method name="gui_get_drag_data" qualifiers="const">
+			<return type="Variant">
+			</return>
+			<description>
+			</description>
+		</method>
 		<method name="set_disable_input">
 			<argument index="0" name="disable" type="bool">
 			</argument>