package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Miscellaneous widgets

val separator : Gtk.Tags.orientation -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> GObj.widget_full

@gtkdoc gtk GtkSeparator @gtkdoc gtk GtkHSeparator @gtkdoc gtk GtkVSeparator

Statusbar

class statusbar : Gtk.statusbar Gtk.obj -> object ... end

Report messages of minor importance to the user @gtkdoc gtk GtkStatusbar

val statusbar : ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> statusbar

@gtkdoc gtk GtkStatusbar

Status icon

@gtkdoc gtk GtkStatusIcon

class status_icon : Gtk.gtk_status_icon -> object ... end

Display an icon in the system tray. @gtkdoc gtk GtkStatusIcon

val status_icon : ?screen:Gdk.screen -> ?visible:bool -> ?tooltip_markup:string -> ?tooltip_text:string -> unit -> status_icon
val status_icon_from_pixbuf : ?screen:Gdk.screen -> ?visible:bool -> ?tooltip_markup:string -> ?tooltip_text:string -> GdkPixbuf.pixbuf -> status_icon
val status_icon_from_file : ?screen:Gdk.screen -> ?visible:bool -> ?tooltip_markup:string -> ?tooltip_text:string -> string -> status_icon
val status_icon_from_stock : ?screen:Gdk.screen -> ?visible:bool -> ?tooltip_markup:string -> ?tooltip_text:string -> string -> status_icon
val status_icon_from_icon_name : ?screen:Gdk.screen -> ?visible:bool -> ?tooltip_markup:string -> ?tooltip_text:string -> string -> status_icon

Calendar

class calendar_signals : 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkCalendar

class calendar : Gtk.calendar Gtk.obj -> object ... end

Display a calendar and/or allow the user to select a date @gtkdoc gtk GtkCalendar

val calendar : ?options:Gtk.Tags.calendar_display_options list -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> calendar

@gtkdoc gtk GtkCalendar

Drawing Area

class drawing_area : [> Gtk.drawing_area ] as 'a Gtk.obj -> object ... end

A widget for custom user interface elements @gtkdoc gtk GtkDrawingArea

val drawing_area : ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> drawing_area

@gtkdoc gtk GtkDrawingArea

Misc. Widgets

class misc : [> Gtk.misc ] as 'a Gtk.obj -> object ... end

A base class for widgets with alignments and padding @gtkdoc gtk GtkMisc

class arrow : [> Gtk.arrow ] as 'a Gtk.obj -> object ... end

Produces an arrow pointing in one of the four cardinal directions @gtkdoc gtk GtkArrow

val arrow : ?kind:Gtk.Tags.arrow_type -> ?shadow:Gtk.Tags.shadow_type -> ?xalign:float -> ?yalign:float -> ?xpad:int -> ?ypad:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> arrow

@gtkdoc gtk GtkArrow

  • parameter kind

    default value is `RIGHT

  • parameter shadow

    default value is `OUT

type image_type = [
  1. | `EMPTY
  2. | `PIXBUF
  3. | `STOCK
  4. | `ICON_SET
  5. | `ANIMATION
  6. | `ICON_NAME
  7. | `GICON
  8. | `SURFACE
]
class image : 'a Gtk.obj -> object ... end

A widget displaying an image @gtkdoc gtk GtkImage

val image : ?file:string -> ?icon_name:string -> ?icon_set:Gtk.icon_set -> ?icon_size:Gtk.Tags.icon_size -> ?pixbuf:GdkPixbuf.pixbuf -> ?pixel_size:int -> ?resource:string -> ?stock:GtkStock.id -> ?use_fallback:bool -> ?xalign:float -> ?yalign:float -> ?xpad:int -> ?ypad:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> image

@gtkdoc gtk GtkImage

Labels
class label_skel : 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkLabel

class label : Gtk.label Gtk.obj -> object ... end

A widget that displays a small to medium amount of text @gtkdoc gtk GtkLabel

val label : ?text:string -> ?markup:string -> ?use_underline:bool -> ?mnemonic_widget:GObj.widget -> ?justify:Gtk.Tags.justification -> ?line_wrap:bool -> ?pattern:string -> ?selectable:bool -> ?ellipsize:PangoEnums.ellipsize_mode -> ?xalign:float -> ?yalign:float -> ?xpad:int -> ?ypad:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> label

@gtkdoc gtk GtkLabel

  • parameter markup

    overrides text if both are present

  • parameter use_underline

    default value is false

  • parameter justify

    default value is `LEFT

  • parameter selectable

    default value is false

  • parameter line_wrap

    default values is false

val label_cast : < as_widget : 'a Gtk.obj.. > -> label

Color and font selection

Deprecated since 3.0

class color_selection : Gtk.color_selection Gtk.obj -> object ... end

A widget used to select a color @gtkdoc gtk GtkColorSelection

val color_selection : ?alpha:int -> ?color:Gdk.color -> ?has_opacity_control:bool -> ?has_palette:bool -> ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> color_selection

@gtkdoc gtk GtkColorSelection

class font_selection : Gtk.font_selection Gtk.obj -> object ... end

A widget for selecting fonts. @gtkdoc gtk GtkFontSelection

val font_selection : ?font_name:string -> ?preview_text:string -> ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> font_selection

@gtkdoc gtk GtkFontSelection

OCaml

Innovation. Community. Security.