Re: X-Display properties
- From: Vlad Harchev <hvv hippo ru>
- To: Joachim Backes <backes rhrk uni-kl de>
- Cc: Gtk <gtk-list gnome org>
- Subject: Re: X-Display properties
- Date: Tue, 8 Aug 2000 14:12:45 +0500 (SAMST)
On Tue, 8 Aug 2000, Joachim Backes wrote:
> Question: How to get info about the X-Window display properties such as
> screen dimensions, resolution, visuals?
As for visuals:
void gdk_query_depths (gint **depths,
gint *count);
void gdk_query_visual_types (GdkVisualType **visual_types,
gint *count);
GList* gdk_list_visuals (void);
gint gdk_visual_get_best_depth (void);
GdkVisualType gdk_visual_get_best_type (void);
GdkVisual* gdk_visual_get_system (void);
GdkVisual* gdk_visual_get_best (void);
GdkVisual* gdk_visual_get_best_with_depth (gint depth);
GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
GdkVisual* gdk_visual_get_best_with_both (gint depth,
GdkVisualType visual_type);
As for screen:
gchar* gdk_get_display (void);
gint gdk_screen_width (void);
gint gdk_screen_height (void);
gint gdk_screen_width_mm (void);
gint gdk_screen_height_mm (void);
> Regards
>
> Joachim Backes
>
> --
>
> Joachim Backes <backes@rhrk.uni-kl.de> | Univ. of Kaiserslautern
> Computer Center, Supercomputing Division | Phone: +49-631-205-2438
> D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056
> ---------------------------------------------+------------------------
> WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]