James Su <[EMAIL PROTECTED]> writes:
> 
> I want to get the screen resolution (dpi), but how can I do it within
> gdk/gtk?
> 

gdk_screen_width_mm() gives size in millimeters, gdk_screen_width()
size in pixels, the math to get pixels per millimeter is pretty
simple.

Beware though, for many X servers the millimeter size will be
completely bogus.

Havoc

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to