Class Mlpost_lablgtk.mlpost_pic

class mlpost_pic : ?width:int -> ?height:int -> ?packing:GObj.widget -> unit -> ?show:bool -> unit -> object .. end

GTK widget which displays an mlpost picture.

Inherits
val obj : Gtk.widget Gtk.obj
method pic : Picture.t

The displayed picture

method set_pic : 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