|
1403 | 1403 | <param index="1" name="window_id" type="int" default="0" />
|
1404 | 1404 | <description>
|
1405 | 1405 | Sets the [param callback] that should be called when files are dropped from the operating system's file manager to the window specified by [param window_id].
|
| 1406 | + [b]Warning:[/b] Advanced users only! Adding such a callback to a [Window] node will override its default implementation, which can introduce bugs. |
1406 | 1407 | [b]Note:[/b] This method is implemented on Windows, macOS, Linux (X11) and Web.
|
1407 | 1408 | </description>
|
1408 | 1409 | </method>
|
|
1447 | 1448 | <param index="1" name="window_id" type="int" default="0" />
|
1448 | 1449 | <description>
|
1449 | 1450 | Sets the [param callback] that should be called when any [InputEvent] is sent to the window specified by [param window_id].
|
| 1451 | + [b]Warning:[/b] Advanced users only! Adding such a callback to a [Window] node will override its default implementation, which can introduce bugs. |
1450 | 1452 | </description>
|
1451 | 1453 | </method>
|
1452 | 1454 | <method name="window_set_input_text_callback">
|
|
1455 | 1457 | <param index="1" name="window_id" type="int" default="0" />
|
1456 | 1458 | <description>
|
1457 | 1459 | Sets the [param callback] that should be called when text is entered using the virtual keyboard to the window specified by [param window_id].
|
| 1460 | + [b]Warning:[/b] Advanced users only! Adding such a callback to a [Window] node will override its default implementation, which can introduce bugs. |
1458 | 1461 | </description>
|
1459 | 1462 | </method>
|
1460 | 1463 | <method name="window_set_max_size">
|
|
1552 | 1555 | <param index="1" name="window_id" type="int" default="0" />
|
1553 | 1556 | <description>
|
1554 | 1557 | Sets the [param callback] that will be called when the window specified by [param window_id] is moved or resized.
|
| 1558 | + [b]Warning:[/b] Advanced users only! Adding such a callback to a [Window] node will override its default implementation, which can introduce bugs. |
1555 | 1559 | </description>
|
1556 | 1560 | </method>
|
1557 | 1561 | <method name="window_set_size">
|
|
1609 | 1613 | <param index="1" name="window_id" type="int" default="0" />
|
1610 | 1614 | <description>
|
1611 | 1615 | Sets the [param callback] that will be called when an event occurs in the window specified by [param window_id].
|
| 1616 | + [b]Warning:[/b] Advanced users only! Adding such a callback to a [Window] node will override its default implementation, which can introduce bugs. |
1612 | 1617 | </description>
|
1613 | 1618 | </method>
|
1614 | 1619 | </methods>
|
|
1882 | 1887 | Max value of the [enum WindowFlags].
|
1883 | 1888 | </constant>
|
1884 | 1889 | <constant name="WINDOW_EVENT_MOUSE_ENTER" value="0" enum="WindowEvent">
|
1885 |
| - Sent when the mouse pointer enters the window, see [method window_set_window_event_callback]. |
| 1890 | + Sent when the mouse pointer enters the window. |
1886 | 1891 | </constant>
|
1887 | 1892 | <constant name="WINDOW_EVENT_MOUSE_EXIT" value="1" enum="WindowEvent">
|
1888 |
| - Sent when the mouse pointer exits the window, see [method window_set_window_event_callback]. |
| 1893 | + Sent when the mouse pointer exits the window. |
1889 | 1894 | </constant>
|
1890 | 1895 | <constant name="WINDOW_EVENT_FOCUS_IN" value="2" enum="WindowEvent">
|
1891 |
| - Sent when the window grabs focus, see [method window_set_window_event_callback]. |
| 1896 | + Sent when the window grabs focus. |
1892 | 1897 | </constant>
|
1893 | 1898 | <constant name="WINDOW_EVENT_FOCUS_OUT" value="3" enum="WindowEvent">
|
1894 |
| - Sent when the window loses focus, see [method window_set_window_event_callback]. |
| 1899 | + Sent when the window loses focus. |
1895 | 1900 | </constant>
|
1896 | 1901 | <constant name="WINDOW_EVENT_CLOSE_REQUEST" value="4" enum="WindowEvent">
|
1897 |
| - Sent when the user has attempted to close the window (e.g. close button is pressed), see [method window_set_window_event_callback]. |
| 1902 | + Sent when the user has attempted to close the window (e.g. close button is pressed). |
1898 | 1903 | </constant>
|
1899 | 1904 | <constant name="WINDOW_EVENT_GO_BACK_REQUEST" value="5" enum="WindowEvent">
|
1900 |
| - Sent when the device "Back" button is pressed, see [method window_set_window_event_callback]. |
| 1905 | + Sent when the device "Back" button is pressed. |
1901 | 1906 | [b]Note:[/b] This event is implemented only on Android.
|
1902 | 1907 | </constant>
|
1903 | 1908 | <constant name="WINDOW_EVENT_DPI_CHANGE" value="6" enum="WindowEvent">
|
1904 |
| - Sent when the window is moved to the display with different DPI, or display DPI is changed, see [method window_set_window_event_callback]. |
| 1909 | + Sent when the window is moved to the display with different DPI, or display DPI is changed. |
1905 | 1910 | [b]Note:[/b] This flag is implemented only on macOS.
|
1906 | 1911 | </constant>
|
1907 | 1912 | <constant name="WINDOW_EVENT_TITLEBAR_CHANGE" value="7" enum="WindowEvent">
|
1908 |
| - Sent when the window title bar decoration is changed (e.g. [constant WINDOW_FLAG_EXTEND_TO_TITLE] is set or window entered/exited full screen mode), see [method window_set_window_event_callback]. |
| 1913 | + Sent when the window title bar decoration is changed (e.g. [constant WINDOW_FLAG_EXTEND_TO_TITLE] is set or window entered/exited full screen mode). |
1909 | 1914 | [b]Note:[/b] This flag is implemented only on macOS.
|
1910 | 1915 | </constant>
|
1911 | 1916 | <constant name="VSYNC_DISABLED" value="0" enum="VSyncMode">
|
|
0 commit comments