Difference between revisions of "Event.MEDIA CANCEL"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
+
'''Available since:''' Gideros 2016.1<br/>
'''<translate>Available since</translate>:''' Gideros 2016.1<br/>
+
'''Value:''' complete<br/>
'''<translate>Value</translate>:''' complete<br/>
+
'''Defined by:''' [[Media]]<br/>
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/Media|Media]]<br/>
 
  
 
=== Description ===
 
=== Description ===
Line 9: Line 8:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
--user cancelled selecting image
 
--user cancelled selecting image
 
mediamanager:addEventListener(Event.MEDIA_CANCEL, function()
 
mediamanager:addEventListener(Event.MEDIA_CANCEL, function()
 
print("User cancelled media input")
 
print("User cancelled media input")
 
end)
 
end)
</source>
+
</syntaxhighlight>
 
 
=== Parameters ===
 
  
 
{{Media}}
 
{{Media}}

Latest revision as of 14:27, 13 July 2023