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
);
Get the geometry for the monitor connected to the specified output. If the monitor is a tiled monitor, it returns the geometry for the complete monitor.
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
);
gboolean
gnome_rr_output_info_get_underscanning
(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
);
gboolean
gnome_rr_output_info_is_primary_tile (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
);
Set the geometry for the monitor connected to the specified output. If the monitor is a tiled monitor, it sets the geometry for the complete monitor.
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
);
void gnome_rr_output_info_set_underscanning (GnomeRROutputInfo *self
,gboolean underscanning
);
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
);