DgsBringToFront
Jump to navigation
Jump to search
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 )