Difference between revisions of "Event.APPLICATION RESIZE"

From GiderosMobile
(added oleg's example)
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
This event is dispatched when app window has changed its size on Desktops
+
This event is dispatched when app window has changed its size on Desktops.
 +
 
 +
=== Examples ===
 +
<source lang="lua">
 +
stage:addEventListener(Event.APPLICATION_RESIZE, function()
 +
print("--- RESIZE ---")
 +
end)
 +
</source>
  
 
{{Application}}
 
{{Application}}
 
{{EventDispatcher}}
 
{{EventDispatcher}}

Revision as of 00:44, 10 December 2019

Available since: Gideros 2015.03.22
Value: applicationResize
Defined by: EventDispatcher

Description

This event is dispatched when app window has changed its size on Desktops.

Examples

stage:addEventListener(Event.APPLICATION_RESIZE, function()
	print("--- RESIZE ---")
end)