RRCrtc
constructor
name
can_
drive_
output
get_
current_
mode
get_
current_
rotation
get_
gamma
get_
id
get_
position
get_
rotations
set_
gamma
supports_
rotation
GJS API Reference
GnomeDesktop-3.0
GnomeDesktop
RRCrtc
Class RRCrtc
Hierarchy
RRCrtc
Index
Constructors
constructor
Properties
name
Methods
can_
drive_
output
get_
current_
mode
get_
current_
rotation
get_
gamma
get_
id
get_
position
get_
rotations
set_
gamma
supports_
rotation
Constructors
constructor
new RRCrtc
(
)
:
RRCrtc
Returns
RRCrtc
Properties
Static
name
name
:
string
Methods
can_
drive_
output
can_
drive_
output
(
output
:
RROutput
)
:
boolean
Parameters
output:
RROutput
Returns
boolean
get_
current_
mode
get_
current_
mode
(
)
:
RRMode
Returns
RRMode
get_
current_
rotation
get_
current_
rotation
(
)
:
RRRotation
Returns
RRRotation
get_
gamma
get_
gamma
(
size
:
number
)
:
[
boolean
,
number
,
number
,
number
]
Parameters
size:
number
Returns
[
boolean
,
number
,
number
,
number
]
get_
id
get_
id
(
)
:
number
Returns
number
get_
position
get_
position
(
)
:
[
number
,
number
]
Returns
[
number
,
number
]
get_
rotations
get_
rotations
(
)
:
RRRotation
Returns
RRRotation
set_
gamma
set_
gamma
(
size
:
number
, red
:
number
, green
:
number
, blue
:
number
)
:
boolean
Parameters
size:
number
red:
number
green:
number
blue:
number
Returns
boolean
supports_
rotation
supports_
rotation
(
rotation
:
RRRotation
)
:
boolean
Parameters
rotation:
RRRotation
Returns
boolean
RRCrtc
constructor
name
can_
drive_
output
get_
current_
mode
get_
current_
rotation
get_
gamma
get_
id
get_
position
get_
rotations
set_
gamma
supports_
rotation
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHbm9tZURlc2t0b3BfM18wLkdub21lRGVza3RvcC5SUkNydGMuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOi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