Blame frx/frx_fillbox.mli

Packit bd2e5d
(***********************************************************************)
Packit bd2e5d
(*                                                                     *)
Packit bd2e5d
(*                 MLTk, Tcl/Tk interface of OCaml                     *)
Packit bd2e5d
(*                                                                     *)
Packit bd2e5d
(*    Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis    *)
Packit bd2e5d
(*               projet Cristal, INRIA Rocquencourt                    *)
Packit bd2e5d
(*            Jacques Garrigue, Kyoto University RIMS                  *)
Packit bd2e5d
(*                                                                     *)
Packit bd2e5d
(*  Copyright 2002 Institut National de Recherche en Informatique et   *)
Packit bd2e5d
(*  en Automatique and Kyoto University.  All rights reserved.         *)
Packit bd2e5d
(*  This file is distributed under the terms of the GNU Library        *)
Packit bd2e5d
(*  General Public License, with the special exception on linking      *)
Packit bd2e5d
(*  described in file LICENSE found in the OCaml source tree.          *)
Packit bd2e5d
(*                                                                     *)
Packit bd2e5d
(***********************************************************************)
Packit bd2e5d
open Camltk
Packit bd2e5d
Packit bd2e5d
val new_vertical :
Packit bd2e5d
  Widget.widget -> int -> int -> Widget.widget * (int -> unit)
Packit bd2e5d
  (* [new_vertical parent width height]
Packit bd2e5d
     creates a vertical fillbox of [width] and [height].
Packit bd2e5d
     Returns a frame widget and a function to set the current value of
Packit bd2e5d
     the fillbox. The value can be
Packit bd2e5d
      n < 0        : the fillbox changes color (reddish)
Packit bd2e5d
      0 <= n <= 100: the fillbox fills up to n percent
Packit bd2e5d
      100 <= n     : the fillbox fills up to 95%
Packit bd2e5d
   *)
Packit bd2e5d
Packit bd2e5d
val new_horizontal :
Packit bd2e5d
  Widget.widget -> int -> int -> Widget.widget * (int -> unit)
Packit bd2e5d
  (* save as above, except the widget is horizontal *)