CinnamonDesktop.RRLabeler¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w/co |
RandR configuration to label |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class CinnamonDesktop.RRLabeler(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(config)¶
- Parameters:
config (
CinnamonDesktop.RRConfig
) – Configuration of the screens to label- Returns:
- Return type:
Create a GUI element that will display colored labels on each connected monitor. This is useful when users are required to identify which monitor is which, e.g. for for configuring multiple monitors. The labels will be shown by default, use
CinnamonDesktop.RRLabeler.hide
to hide them.
- get_rgba_for_output(output)¶
- Parameters:
output (
CinnamonDesktop.RROutputInfo
) – Output device (i.e. monitor) to query- Returns:
Color of selected monitor.
- Return type:
rgba_out:
Gdk.RGBA
Get the color used for the label on a given output (monitor).
- hide()¶
Hide ouput labels.
- show()¶
Show the labels.
Property Details¶
- CinnamonDesktop.RRLabeler.props.config¶
- Name:
config
- Type:
- Default Value:
- Flags:
RandR configuration to label