Difference between revisions of "love.graphics.toggleFullscreen"

m (Function)
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.setFullscreen]]}}
 +
 
Toggles fullscreen.
 
Toggles fullscreen.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
changed = love.graphics.toggleFullscreen( )
+
success = love.graphics.toggleFullscreen( )
 
</source>
 
</source>
 +
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
Line 14: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Toggles fullscreen.}}
 
{{#set:Description=Toggles fullscreen.}}
 
+
{{#set:Since=000}}
 +
{{#set:Sub-Category=Window}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.toggleFullscreen}}
 
{{i18n|love.graphics.toggleFullscreen}}

Latest revision as of 18:56, 28 November 2023

Removed in LÖVE 0.9.0
Moved to the love.window module as love.window.setFullscreen.


Toggles fullscreen.

Function

Synopsis

success = love.graphics.toggleFullscreen( )

Arguments

None.

Returns

boolean success
True if successful, false otherwise.

See Also


Other Languages