Type deai.plugin.xorg:RandrExt
See Connection.randr for more information about this type
Properties
Available modes from RandR |
|
Outputs |
Methods
Configure the outputs. |
|
Find the output that corresponds to a monitor. |
|
Get the monitor information for each connected monitor. |
- configure_outputs(configs) void
- Return type:
void
- Parameters:
configs (
[OutputConfig]) – The configuration
Configure the outputs.
Set the position and size of the outputs according to configuration. The outputs you want to configure must ALL appear in the configuration list, even if you don’t place any positional constraints on them. The positional constraints MUST NOT refer to any outputs that are not in the configuration list. If the constraints are impossible to satisfy, then an error will be raised.
- find_output(monitor_info) Output
- Return type:
- Parameters:
monitor_info (
MonitorInfo) – The monitor information. This can also be a string, in which case it is treated as the name of the output.
Find the output that corresponds to a monitor.
The argument is a
MonitorInfoobject. But not all of its fields need to be filled in. Only the fields present will be used in the search, and the output field will be ignored. If there are multiple outputs that match the information given, any of them may be returned.
- monitor_info() object
- Return type:
object
Get the monitor information for each connected monitor.
Returns a table of monitor information, indexed by the name of the output, each value is of type
MonitorInfo.
Signals
An output’s configuration changed |
|
A view’s configuration changed |