DgsBringToFront: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
 (Created page with "This function sets the font of a dgs element to be used when drawing text.  ==Syntax==  <syntaxhighlight lang="lua"> bool guiBringToFront ( element dgsElement ) </syntaxhighli...")  | 
			
(No difference) 
 | 
Revision as of 03:45, 8 June 2018
This function sets the font of a dgs element to be used when drawing text.
Syntax
bool guiBringToFront ( element dgsElement )
Required Arguments
- dgsElement: the DGS element that you want to move to the front.
 
Returns
Returns true if the function was successful, false otherwise.
Example
This example creates a dgs window and brings it on top.
local window = dgsCreateWindow ( 0.4, 0.4, 0.3, 0.3, "My dummy window", true ) dgsBringToFront ( window )