Top | ![]() |
![]() |
![]() |
![]() |
struct | GnomeRROutputInfo |
struct | GnomeRROutputInfoClass |
struct | GnomeRRConfig |
struct | GnomeRRConfigClass |
double
gnome_rr_output_info_get_aspect_ratio (GnomeRROutputInfo *self
);
char *
gnome_rr_output_info_get_display_name (GnomeRROutputInfo *self
);
void gnome_rr_output_info_get_geometry (GnomeRROutputInfo *self
,int *x
,int *y
,int *width
,int *height
);
self |
||
x |
. |
[out][allow-none] |
y |
. |
[out][allow-none] |
width |
. |
[out][allow-none] |
height |
. |
[out][allow-none] |
int
gnome_rr_output_info_get_preferred_height
(GnomeRROutputInfo *self
);
int
gnome_rr_output_info_get_preferred_width
(GnomeRROutputInfo *self
);
gboolean
gnome_rr_output_info_get_primary (GnomeRROutputInfo *self
);
const char *
gnome_rr_output_info_get_product (GnomeRROutputInfo *self
);
int
gnome_rr_output_info_get_refresh_rate (GnomeRROutputInfo *self
);
GnomeRRRotation
gnome_rr_output_info_get_rotation (GnomeRROutputInfo *self
);
const char *
gnome_rr_output_info_get_serial (GnomeRROutputInfo *self
);
const char *
gnome_rr_output_info_get_vendor (GnomeRROutputInfo *self
);
gboolean
gnome_rr_output_info_is_active (GnomeRROutputInfo *self
);
gboolean
gnome_rr_output_info_is_connected (GnomeRROutputInfo *self
);
void gnome_rr_output_info_set_active (GnomeRROutputInfo *self
,gboolean active
);
void gnome_rr_output_info_set_geometry (GnomeRROutputInfo *self
,int x
,int y
,int width
,int height
);
void gnome_rr_output_info_set_primary (GnomeRROutputInfo *self
,gboolean primary
);
void gnome_rr_output_info_set_refresh_rate (GnomeRROutputInfo *self
,int rate
);
void gnome_rr_output_info_set_rotation (GnomeRROutputInfo *self
,GnomeRRRotation rotation
);
gboolean gnome_rr_output_info_supports_rotation (GnomeRROutputInfo *self
,GnomeRRRotation rotation
);
GnomeRRConfig * gnome_rr_config_new_current (GnomeRRScreen *screen
,GError **error
);
gboolean gnome_rr_config_apply (GnomeRRConfig *configuration
,GnomeRRScreen *screen
,GError **error
);
gboolean gnome_rr_config_apply_persistent (GnomeRRConfig *configuration
,GnomeRRScreen *screen
,GError **error
);
gboolean gnome_rr_config_match (GnomeRRConfig *config1
,GnomeRRConfig *config2
);
gboolean gnome_rr_config_equal (GnomeRRConfig *config1
,GnomeRRConfig *config2
);
gboolean gnome_rr_config_applicable (GnomeRRConfig *configuration
,GnomeRRScreen *screen
,GError **error
);
gboolean
gnome_rr_config_ensure_primary (GnomeRRConfig *configuration
);
GnomeRROutputInfo **
gnome_rr_config_get_outputs (GnomeRRConfig *configuration
);
the output configuration for this GnomeRRConfig.
[array zero-terminated=1][element-type GnomeDesktop.RROutputInfo][transfer none]
gboolean gnome_rr_config_load_current (GnomeRRConfig *self
,GError **error
);
void gnome_rr_config_set_clone (GnomeRRConfig *configuration
,gboolean clone
);