Crtc
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
GnomeRR-4.0
GnomeRR
Crtc
Class Crtc
Hierarchy
Crtc
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
Crtc
(
)
:
Crtc
Returns
Crtc
Properties
Static
name
name
:
string
Methods
can_
drive_
output
can_
drive_
output
(
output
:
GnomeRR
.
Output
)
:
boolean
Parameters
output:
GnomeRR
.
Output
Returns
boolean
get_
current_
mode
get_
current_
mode
(
)
:
Mode
Returns
Mode
get_
current_
rotation
get_
current_
rotation
(
)
:
Rotation
Returns
Rotation
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
(
)
:
Rotation
Returns
Rotation
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
:
Rotation
)
:
boolean
Parameters
rotation:
Rotation
Returns
boolean
Crtc
constructor
name
can_
drive_
output
get_
current_
mode
get_
current_
rotation
get_
gamma
get_
id
get_
position
get_
rotations
set_
gamma
supports_
rotation
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHbm9tZVJSXzRfMC5Hbm9tZVJSLkNydGMuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaW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