Screen: Difference between revisions

From GiderosMobile
removed language stuff...
No edit summary
Line 22: Line 22:
[[Screen:setSize]] ''sets the screen size (when possible)''<br/><!-- GIDEROSMTD:Screen:setSize(w,h) sets the screen size (when possible)-->
[[Screen:setSize]] ''sets the screen size (when possible)''<br/><!-- GIDEROSMTD:Screen:setSize(w,h) sets the screen size (when possible)-->
[[Screen:setState]] ''sets the screen state (when possible)''<br/><!-- GIDEROSMTD:Screen:setState(state) sets the screen state (when possible)-->
[[Screen:setState]] ''sets the screen state (when possible)''<br/><!-- GIDEROSMTD:Screen:setState(state) sets the screen state (when possible)-->
[[Screen:setTitle]] ''sets the screen title''<br/><!-- GIDEROSMTD:Screen:setTitle(title) sets the screen title-->


| style="width: 50%; vertical-align:top;"|
| style="width: 50%; vertical-align:top;"|

Revision as of 21:02, 15 February 2023

Supported platforms:
Available since: Gideros 2017.8
Inherits from: Object

Description

The Screen class allows to access secondary displays or windows.

Methods

Screen.new opens a new screen
Screen:clear sets the screen background color
Screen:getId returns the screen id
Screen:getMaxSize returns the maximum size the screen can have
Screen:getPosition returns the screen position
Screen:getSize returns the screen size
Screen:getState returns the screen state
Screen:setContent sets the screen content
Screen:setPosition sets the screen position (when possible)
Screen:setSize sets the screen size (when possible)
Screen:setState sets the screen state (when possible)
Screen:setTitle sets the screen title

Events

Constants