Difference between revisions of "love.graphics.toggleFullscreen"

m
m
 
(5 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.
 
=== Returns ===
 
=== Returns ===
{{param|boolean|changed|True if successful, false otherwise.}}
+
{{param|boolean|success|True if successful, false otherwise.}}
 +
 
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
[[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