2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2019-04-01 12:33:56 +02:00
<class name= "MainLoop" inherits= "Object" category= "Core" version= "3.2" >
2017-09-12 22:42:36 +02:00
<brief_description >
Main loop is the abstract main loop base class.
</brief_description>
<description >
2019-03-29 23:37:35 +01:00
Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [MainLoop] has to be provided to OS, else the application will exit. This happens automatically (and a [SceneTree] is created), unless a main [Script] is supplied, which may or not create and return a [MainLoop].
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "_drop_files" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "files" type= "PoolStringArray" >
</argument>
<argument index= "1" name= "screen" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "_finalize" qualifiers= "virtual" >
<return type= "void" >
</return>
<description >
Called before the program exits.
</description>
</method>
<method name= "_idle" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "delta" type= "float" >
</argument>
<description >
Called each idle frame with time since last call as an only argument.
</description>
</method>
<method name= "_initialize" qualifiers= "virtual" >
<return type= "void" >
</return>
<description >
Called once during initialization.
</description>
</method>
<method name= "_input_event" qualifiers= "virtual" >
<return type= "void" >
</return>
2018-09-11 00:18:05 +02:00
<argument index= "0" name= "event" type= "InputEvent" >
2017-09-12 22:42:36 +02:00
</argument>
<description >
</description>
</method>
<method name= "_input_text" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "text" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "_iteration" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "delta" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "finish" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "idle" >
<return type= "bool" >
</return>
<argument index= "0" name= "delta" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "init" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "input_event" >
<return type= "void" >
</return>
2018-09-11 00:18:05 +02:00
<argument index= "0" name= "event" type= "InputEvent" >
2017-09-12 22:42:36 +02:00
</argument>
<description >
</description>
</method>
<method name= "input_text" >
<return type= "void" >
</return>
<argument index= "0" name= "text" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "iteration" >
<return type= "bool" >
</return>
<argument index= "0" name= "delta" type= "float" >
</argument>
<description >
</description>
</method>
</methods>
<constants >
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_MOUSE_ENTER" value= "1002" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_MOUSE_EXIT" value= "1003" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_FOCUS_IN" value= "1004" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_FOCUS_OUT" value= "1005" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_QUIT_REQUEST" value= "1006" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_GO_BACK_REQUEST" value= "1007" >
2017-10-22 12:56:11 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_UNFOCUS_REQUEST" value= "1008" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_OS_MEMORY_WARNING" value= "1009" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_TRANSLATION_CHANGED" value= "1010" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_WM_ABOUT" value= "1011" >
2017-09-12 22:42:36 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_CRASH" value= "1012" >
2018-07-26 11:56:21 +02:00
</constant>
2019-04-15 14:49:41 +02:00
<constant name= "NOTIFICATION_OS_IME_UPDATE" value= "1013" >
2018-11-23 13:07:48 +01:00
</constant>
2017-09-12 22:42:36 +02:00
</constants>
</class>