fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Home > cat > eventloop
 
Edit  Rename  Undo  Refresh   
Documentation
History  
Event Loop - History
11/29/2006 05:06:43 - gambas
..............................................................................   ..............................................................................
* There is a [/comp/gb/file] that is watched.                                    * There is a [/comp/gb/file] that is watched.                                 
* There is a [../../comp/gb.qt/window] that is opened.                           * There is a [../../comp/gb.qt/window] that is opened.                        
                                                                                                                                                               
During this loop, it will process any events raised by any object, and           During this loop, it will process any events raised by any [../../def/object], 
for each event, it will call the corresponding [def/eventhandler].               for each event, it will call the corresponding [def/eventhandler].            
                                                                                                                                                               
You can call recursively the event loop by using the [/lang/wait] instruction.   You can call recursively the event loop by using the [/lang/wait] instruction.
This may lead to infinite recursion, but this is the only way to refresh         This may lead to infinite recursion, but this is the only way to refresh      
the user interface while doing a long processing.                                the user interface while doing a long processing.                             
                                                                                                                                                               
                                                                                 {warning                                                                       
                                                                                 Graphical controls are refreshed during the event loop, not when you change th 
                                                                                 }                                                                              
                                                                                                                                                                
{seealso                                                                         {seealso                                                                      
[/lang/wait] [/lang/quit]                                                        [/lang/wait] [/lang/quit]                                                     
}                                                                                }                                                                             
..............................................................................   ..............................................................................
02/25/2006 18:33:48 - gambas
Creation