1 (***********************************************************************)
3 (* MLTk, Tcl/Tk interface of Objective Caml *)
5 (* Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis *)
6 (* projet Cristal, INRIA Rocquencourt *)
7 (* Jacques Garrigue, Kyoto University RIMS *)
9 (* Copyright 2002 Institut National de Recherche en Informatique et *)
10 (* en Automatique and Kyoto University. All rights reserved. *)
11 (* This file is distributed under the terms of the GNU Library *)
12 (* General Public License, with the special exception on linking *)
13 (* described in file LICENSE found in the Objective Caml source tree. *)
15 (***********************************************************************)
19 Widget.widget
-> int -> int -> Widget.widget
* (int -> unit)
20 (* [new_vertical parent width height]
21 creates a vertical fillbox of [width] and [height].
22 Returns a frame widget and a function to set the current value of
23 the fillbox. The value can be
24 n < 0 : the fillbox changes color (reddish)
25 0 <= n <= 100: the fillbox fills up to n percent
26 100 <= n : the fillbox fills up to 95%
30 Widget.widget
-> int -> int -> Widget.widget
* (int -> unit)
31 (* save as above, except the widget is horizontal *)