diff options
Diffstat (limited to 'otherlibs/labltk/frx/frx_focus.ml')
| -rw-r--r-- | otherlibs/labltk/frx/frx_focus.ml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/otherlibs/labltk/frx/frx_focus.ml b/otherlibs/labltk/frx/frx_focus.ml deleted file mode 100644 index f33b9e6df1..0000000000 --- a/otherlibs/labltk/frx/frx_focus.ml +++ /dev/null @@ -1,26 +0,0 @@ -(***********************************************************************) -(* *) -(* MLTk, Tcl/Tk interface of Objective Caml *) -(* *) -(* Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis *) -(* projet Cristal, INRIA Rocquencourt *) -(* Jacques Garrigue, Kyoto University RIMS *) -(* *) -(* Copyright 2002 Institut National de Recherche en Informatique et *) -(* en Automatique and Kyoto University. All rights reserved. *) -(* This file is distributed under the terms of the GNU Library *) -(* General Public License, with the special exception on linking *) -(* described in file LICENSE found in the Objective Caml source tree. *) -(* *) -(***********************************************************************) -open Camltk - -(* Temporary focus *) - -(* ? use bind tag ? how about the global reference then *) -let auto w = - let old_focus = ref w in - bind w [[],Enter] - (BindSet([], fun _ -> old_focus := Focus.get (); Focus.set w)); - bind w [[],Leave] - (BindSet([], fun _ -> Focus.set !old_focus)) |
