package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val from_string : string -> font_description
val to_string : font_description -> string
val set_family : font_description -> string -> unit
val get_family : font_description -> string
val set_style : font_description -> Tags.style -> unit
val get_style : font_description -> Tags.style
val set_variant : font_description -> Tags.variant -> unit
val get_variant : font_description -> Tags.variant
val set_weight : font_description -> Tags.weight -> unit
val get_weight : font_description -> int
val set_stretch : font_description -> Tags.stretch -> unit
val get_stretch : font_description -> Tags.stretch
val set_size : font_description -> int -> unit
val get_size : font_description -> int
val modify : font_description -> ?family:string -> ?style:Tags.style -> ?variant:Tags.variant -> ?weight:Tags.weight -> ?stretch:Tags.stretch -> ?size:int -> unit -> unit
val get_metrics : font -> language -> font_metrics
val get_ascent : font_metrics -> units
val get_descent : font_metrics -> units
val get_approximate_char_width : font_metrics -> units
val get_approximate_digit_width : font_metrics -> units