|
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 |
open Widget
|
|
Packit |
bd2e5d |
|
|
Packit |
bd2e5d |
val debug: bool ref
|
|
Packit |
bd2e5d |
val vert: widget -> (float -> float -> unit) * (unit -> unit)
|
|
Packit |
bd2e5d |
|
|
Packit |
bd2e5d |
(* [vert widget]
|
|
Packit |
bd2e5d |
can be applied to a text widget so that it expands to show its full
|
|
Packit |
bd2e5d |
contents. Returns [scroll] and [check]. [scroll] must be used as
|
|
Packit |
bd2e5d |
the YScrollCommand of the widget. [check] can be called when some
|
|
Packit |
bd2e5d |
modification occurs in the content of the widget (such as a size change
|
|
Packit |
bd2e5d |
in some embedded windows.
|
|
Packit |
bd2e5d |
This feature is a terrible hack and should be used with extreme caution.
|
|
Packit |
bd2e5d |
*)
|