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 (***********************************************************************)
17 val scroll_link : Widget.widget -> Widget.widget -> unit
18 (* [scroll_link scrollbar listbox] links [scrollbar] and [listbox]
22 val add_completion : Widget.widget -> (eventInfo -> unit) -> unit
23 (* [add_completion listbox action] adds Macintosh like electric navigation
24 in the listbox when characters are typed in.
25 [action] is invoked if Return is pressed
28 val new_scrollable_listbox :
29 Widget.widget -> options list -> Widget.widget * Widget.widget
30 (* [new_scrollable_listbox parent options] makes a scrollable listbox and
31 returns (frame, listbox)