Module Gdk.Visual

type visual_type = [
| `STATIC_GRAY
| `GRAYSCALE
| `STATIC_COLOR
| `PSEUDO_COLOR
| `TRUE_COLOR
| `DIRECT_COLOR
]
val get_best : ?⁠depth:int -> ?⁠kind:visual_type -> unit -> visual
val get_type : visual -> visual_type
val depth : visual -> int