package mlpost-lablgtk

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

GTK widget which displays an mlpost picture.

inherit GObj.widget
method pic : Mlpost.Picture.t

The displayed picture

method set_pic : Mlpost.Picture.t -> unit

Sets the picture to display. This function doesn't refresh the widget.

method background : GDraw.color

The actual background color

method set_background : GDraw.color -> unit

Sets the background color

method size : int * int

The size of the drawing area (width,height)

method set_auto_aspect : auto_aspect -> unit

define the transformation used to have a good aspect of the picture (centered, ...)

method set_show_corner : bool -> unit
OCaml

Innovation. Community. Security.