package stk

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

Module Stk.Fixed_sizeSource

Fixed-size widget.

Sourceclass fixed_size : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata: Widget.wdata option -> ?w:int option -> ?h:int option -> unit -> object ... end

A fixed_size widget is a Bin.bin widget whose width and height can be fixed.

Sourcetype Widget.widget_type +=
  1. | Fixed_size of fixed_size
Sourceval fixed_size : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?w:int -> ?h:int -> ?pack:(Widget.widget -> unit) -> unit -> fixed_size

Convenient function to create a fixed_size. w and h optional arguments specify width and height. See Widget arguments for other arguments.

OCaml

Innovation. Community. Security.