![]() |
![]() |
![]() |
MATE Desktop Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <mate-rr-labeler.h> struct MateRRLabeler; MateRRLabeler * mate_rr_labeler_new (MateRRConfig *config
); void mate_rr_labeler_hide (MateRRLabeler *labeler
); void mate_rr_labeler_get_color_for_output (MateRRLabeler *labeler
,MateRROutputInfo *output
,GdkColor *color_out
);
MateRRLabeler * mate_rr_labeler_new (MateRRConfig *config
);
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 mate_rr_labeler_hide to hide them.
|
Configuration of the screens to label |
Returns : |
A new MateRRLabeler |
void mate_rr_labeler_hide (MateRRLabeler *labeler
);
Hide ouput labels.
|
A MateRRLabeler |
void mate_rr_labeler_get_color_for_output (MateRRLabeler *labeler
,MateRROutputInfo *output
,GdkColor *color_out
);
Get the color used for the label on a given output (monitor).
|
A MateRRLabeler |
|
Output device (i.e. monitor) to query |
|
Color of selected monitor. [out] |