package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Inscription/index.html
Module Wrappers.Inscription
type t = [ `inscription | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : string option -> tCreate a new Inscription
val set_yalign : t -> float -> unitSets the `yalign` of the inscription.
See the property@Gtk.Inscription:yalign property.
val set_xalign : t -> float -> unitSets the `xalign` of the inscription.
See the property@Gtk.Inscription:xalign property.
val set_wrap_mode : t -> Ocgtk_pango.Pango.wrapmode -> unitControls how line wrapping is done.
val set_text_overflow : t -> Gtk_enums.inscriptionoverflow -> unitSets what to do when the text doesn't fit.
val set_text : t -> string option -> unitSets the text to be displayed.
val set_nat_lines : t -> int -> unitSets the `nat-lines` of the inscription.
See the property@Gtk.Inscription:nat-lines property.
val set_nat_chars : t -> int -> unitSets the `nat-chars` of the inscription.
See the property@Gtk.Inscription:nat-chars property.
val set_min_lines : t -> int -> unitSets the `min-lines` of the inscription.
See the property@Gtk.Inscription:min-lines property.
val set_min_chars : t -> int -> unitSets the `min-chars` of the inscription.
See the property@Gtk.Inscription:min-chars property.
val set_markup : t -> string option -> unitUtility function to set the text and attributes to be displayed.
See the property@Gtk.Inscription:markup property.
val set_attributes : t -> Ocgtk_pango.Pango.Wrappers.Attr_list.t option -> unitApply attributes to the inscription text.
These attributes will not be evaluated for sizing the inscription.
val get_yalign : t -> floatGets the `yalign` of the inscription.
See the property@Gtk.Inscription:yalign property.
val get_xalign : t -> floatGets the `xalign` of the inscription.
See the property@Gtk.Inscription:xalign property.
val get_wrap_mode : t -> Ocgtk_pango.Pango.wrapmodeReturns line wrap mode used by the inscription.
See method@Gtk.Inscription.set_wrap_mode.
val get_text_overflow : t -> Gtk_enums.inscriptionoverflowGets the inscription's overflow method.
val get_text : t -> string optionGets the text that is displayed.
val get_nat_lines : t -> intGets the `nat-lines` of the inscription.
See the property@Gtk.Inscription:nat-lines property.
val get_nat_chars : t -> intGets the `nat-chars` of the inscription.
See the property@Gtk.Inscription:nat-chars property.
val get_min_lines : t -> intGets the `min-lines` of the inscription.
See the property@Gtk.Inscription:min-lines property.
val get_min_chars : t -> intGets the `min-chars` of the inscription.
See the property@Gtk.Inscription:min-chars property.
val get_attributes : t -> Ocgtk_pango.Pango.Wrappers.Attr_list.t optionGets the inscription's attribute list.