2002-04-26 05:16:26 -07:00
|
|
|
##ifdef CAMLTK
|
|
|
|
|
|
|
|
(* type *)
|
|
|
|
type scrollValue =
|
2002-07-23 07:12:03 -07:00
|
|
|
| ScrollPage of int (* tk option: scroll <int> page *)
|
|
|
|
| ScrollUnit of int (* tk option: scroll <int> unit *)
|
|
|
|
| MoveTo of float (* tk option: moveto <float> *)
|
2002-04-26 05:16:26 -07:00
|
|
|
;;
|
|
|
|
(* /type *)
|
|
|
|
|
|
|
|
##else
|
|
|
|
|
1999-11-30 06:59:39 -08:00
|
|
|
(* type *)
|
|
|
|
type scrollValue = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Page of int (* tk option: scroll <int> page *)
|
|
|
|
| `Unit of int (* tk option: scroll <int> unit *)
|
|
|
|
| `Moveto of float (* tk option: moveto <float> *)
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
2002-04-26 05:16:26 -07:00
|
|
|
;;
|
1999-11-30 06:59:39 -08:00
|
|
|
(* /type *)
|
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
##endif
|