|  |  |  | GNOME Desktop Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <libgnomeui/gnome-rr.h> typedef GnomeRRCrtc; enum GnomeRRRotation; guint32 gnome_rr_crtc_get_id (GnomeRRCrtc *crtc); gboolean gnome_rr_crtc_set_config (GnomeRRCrtc *crtc,int x,int y,GnomeRRMode *mode,GnomeRRRotation rotation,GnomeRROutput **outputs,int n_outputs,GError **error); gboolean gnome_rr_crtc_can_drive_output (GnomeRRCrtc *crtc,GnomeRROutput *output); GnomeRRMode * gnome_rr_crtc_get_current_mode (GnomeRRCrtc *crtc); void gnome_rr_crtc_get_position (GnomeRRCrtc *crtc,int *x,int *y); gboolean gnome_rr_crtc_supports_rotation (GnomeRRCrtc *crtc,GnomeRRRotation rotation); GnomeRRRotation gnome_rr_crtc_get_current_rotation (GnomeRRCrtc *crtc); GnomeRRRotation gnome_rr_crtc_get_rotations (GnomeRRCrtc *crtc);
typedef enum
{
    GNOME_RR_ROTATION_0 = (1 << 0),
    GNOME_RR_ROTATION_90 = (1 << 1),
    GNOME_RR_ROTATION_180 = (1 << 2),
    GNOME_RR_ROTATION_270 = (1 << 3),
    GNOME_RR_REFLECT_X = (1 << 4),
    GNOME_RR_REFLECT_Y = (1 << 5)
} GnomeRRRotation;
gboolean gnome_rr_crtc_set_config (GnomeRRCrtc *crtc,int x,int y,GnomeRRMode *mode,GnomeRRRotation rotation,GnomeRROutput **outputs,int n_outputs,GError **error);
gnome_rr_crtc_set_config is deprecated and should not be used in newly-written code.
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
gboolean gnome_rr_crtc_can_drive_output (GnomeRRCrtc *crtc,GnomeRROutput *output);
| 
 | |
| 
 | |
| Returns : | 
GnomeRRMode *       gnome_rr_crtc_get_current_mode      (GnomeRRCrtc *crtc);
| 
 | |
| Returns : | 
void gnome_rr_crtc_get_position (GnomeRRCrtc *crtc,int *x,int *y);
| 
 | |
| 
 | |
| 
 | 
gboolean gnome_rr_crtc_supports_rotation (GnomeRRCrtc *crtc,GnomeRRRotation rotation);
| 
 | |
| 
 | |
| Returns : | 
GnomeRRRotation     gnome_rr_crtc_get_current_rotation  (GnomeRRCrtc *crtc);
| 
 | |
| Returns : | 
GnomeRRRotation     gnome_rr_crtc_get_rotations         (GnomeRRCrtc *crtc);
| 
 | |
| Returns : |