]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/ocaml/contrib/otherlibs/labltk/frx/frx_fillbox.mli
Update
[l4.git] / l4 / pkg / ocaml / ocaml / contrib / otherlibs / labltk / frx / frx_fillbox.mli
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                 MLTk, Tcl/Tk interface of Objective Caml            *)
4 (*                                                                     *)
5 (*    Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis    *)
6 (*               projet Cristal, INRIA Rocquencourt                    *)
7 (*            Jacques Garrigue, Kyoto University RIMS                  *)
8 (*                                                                     *)
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. *)
14 (*                                                                     *)
15 (***********************************************************************)
16 open Camltk
17
18 val new_vertical :
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%
27    *)
28
29 val new_horizontal :
30   Widget.widget -> int -> int -> Widget.widget * (int -> unit)
31   (* save as above, except the widget is horizontal *)