module AXOWidgets:This module allows easy creation of "graphical" widgetssig..end
a virtual "interface" ( called generic_* )
with detailed comments on expected methods behaviour
a half virtual plugin ( called *_plugin )
a wrapper to be used to avoid code duplication in implementation
class virtual common :object..end
class common_wrap :JSOO.obj ->object..end
widget provides a complete set of methods for attributes
and style manipulation. As it is based on Dom/XHTML/CSS properties, one
should be familiar with concepts of , and the
such.type position =
| |
Absolute |
| |
Fixed |
| |
Relative |
val string_of_position : position -> stringval position_of_string : string -> positiontypecolor =string
val rgb : int -> int -> int -> colorval hex : int -> int -> int -> colorval px_string : int -> stringval pct_string : int -> stringclass virtual generic_widget :object..end
class virtual widget_plugin :object..end
class virtual generic_container :object..end
class virtual container_plugin :object..end
val body : container_pluginmodule Button_click:AXOEvents.Make(sigtypev =unitval name :stringval name_modifier :string optionval destruct :'a -> unitval default_value :unit optionend)
class virtual generic_button :object..end
class virtual button_plugin :bool ->object..end
module Dragg_n_drop_move:AXOEvents.Make(sigtypev =int * intval name :stringval name_modifier :string optionval destruct :JSOO.obj -> int * intval default_value :'a optionend)
module Dragg_n_drop_down:AXOEvents.Make(sigtypev =unitval name :stringval name_modifier :string optionval destruct :'a -> unitval default_value :'a optionend)
module Dragg_n_drop_up:AXOEvents.Make(sigtypev =AXOWidgets.commonval name :stringval name_modifier :string optionval destruct :JSOO.obj -> AXOWidgets.common_wrapval default_value :'a optionend)
class shadow :?style:string -> JSOO.obj ->object..end
class virtual generic_dragg :object..end
class virtual dragg_plugin :< activate : unit; deactivate : 'a; .. > ->object..end