![]() |
![]() |
![]() |
MATE Desktop Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libmateui/mate-rr.h> typedef MateRRCrtc; enum MateRRRotation; guint32 mate_rr_crtc_get_id (MateRRCrtc *crtc
); gboolean mate_rr_crtc_set_config (MateRRCrtc *crtc
,int x
,int y
,MateRRMode *mode
,MateRRRotation rotation
,MateRROutput **outputs
,int n_outputs
,GError **error
); gboolean mate_rr_crtc_can_drive_output (MateRRCrtc *crtc
,MateRROutput *output
); MateRRMode * mate_rr_crtc_get_current_mode (MateRRCrtc *crtc
); void mate_rr_crtc_get_position (MateRRCrtc *crtc
,int *x
,int *y
); gboolean mate_rr_crtc_supports_rotation (MateRRCrtc *crtc
,MateRRRotation rotation
); MateRRRotation mate_rr_crtc_get_current_rotation (MateRRCrtc *crtc
); MateRRRotation mate_rr_crtc_get_rotations (MateRRCrtc *crtc
);
typedef enum { MATE_RR_ROTATION_0 = (1 << 0), MATE_RR_ROTATION_90 = (1 << 1), MATE_RR_ROTATION_180 = (1 << 2), MATE_RR_ROTATION_270 = (1 << 3), MATE_RR_REFLECT_X = (1 << 4), MATE_RR_REFLECT_Y = (1 << 5) } MateRRRotation;
gboolean mate_rr_crtc_set_config (MateRRCrtc *crtc
,int x
,int y
,MateRRMode *mode
,MateRRRotation rotation
,MateRROutput **outputs
,int n_outputs
,GError **error
);
mate_rr_crtc_set_config
is deprecated and should not be used in newly-written code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
gboolean mate_rr_crtc_can_drive_output (MateRRCrtc *crtc
,MateRROutput *output
);
|
|
|
|
Returns : |
MateRRMode * mate_rr_crtc_get_current_mode (MateRRCrtc *crtc
);
|
|
Returns : |
void mate_rr_crtc_get_position (MateRRCrtc *crtc
,int *x
,int *y
);
|
|
|
|
|
gboolean mate_rr_crtc_supports_rotation (MateRRCrtc *crtc
,MateRRRotation rotation
);
|
|
|
|
Returns : |
MateRRRotation mate_rr_crtc_get_current_rotation (MateRRCrtc *crtc
);
|
|
Returns : |
MateRRRotation mate_rr_crtc_get_rotations (MateRRCrtc *crtc
);
|
|
Returns : |