Module Pango.Layout


module Layout: sig .. end

val cast : 'a Gobject.obj -> Pango.layout
val create : Pango.context -> Pango.layout
val copy : Pango.layout -> Pango.layout
val get_context : Pango.layout -> Pango.context
val get_text : Pango.layout -> string
val set_text : Pango.layout -> string -> unit
val set_markup : Pango.layout -> string -> unit
val set_markup_with_accel : Pango.layout -> string -> Glib.unichar -> unit
val get_width : Pango.layout -> int
val set_width : Pango.layout -> int -> unit
val get_indent : Pango.layout -> int
val set_indent : Pango.layout -> int -> unit
val get_spacing : Pango.layout -> int
val set_spacing : Pango.layout -> int -> unit
val get_wrap : Pango.layout -> Pango.Tags.wrap_mode
val set_wrap : Pango.layout -> Pango.Tags.wrap_mode -> unit
val get_justify : Pango.layout -> bool
val set_justify : Pango.layout -> bool -> unit
val get_single_paragraph_mode : Pango.layout -> bool
val set_single_paragraph_mode : Pango.layout -> bool -> unit
val context_changed : Pango.layout -> unit
val get_size : Pango.layout -> Pango.units * Pango.units
val get_pixel_size : Pango.layout -> int * int
val get_extent : Pango.layout -> Pango.rectangle
val get_pixel_extent : Pango.layout -> Pango.rectangle
val index_to_pos : Pango.layout -> int -> Pango.rectangle
val xy_to_index : Pango.layout -> x:int -> y:int -> int * int * bool
val set_ellipsize : Pango.layout -> Pango.Tags.ellipsize_mode -> unit
val get_ellipsize : Pango.layout -> Pango.Tags.ellipsize_mode