module AXOToolkit: sig
.. end
Empty widget : can be used for graphic purpose... There is no methods to change the content, it can only be stylised !
val (@@) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
class block_widget :
object
.. end
Empty widget : can be used for graphic purpose...
class br :
object
.. end
BR & other "constants" : make childless nodes
class nbsp :
object
.. end
Text
val text : string -> AXOWidgets.common_wrap
class text_widget_wrap : string -> AXOJs.obj ->
object
.. end
text_widget : widgets with a text content that can be changed afterward
class inline_widget_text : string ->
object
.. end
class block_widget_text : string ->
object
.. end
class block_container :
object
.. end
Classic containers : blocks, inline and vbox
class inline_container :
object
.. end
class vbox :
object
.. end
class widget_container_wrap : AXOJs.obj ->
object
.. end
Container with widget abilities (AKA stylish containers)
class block_widget_container :
object
.. end
class inline_widget_container :
object
.. end
class widget_vbox :
object
.. end
Some buttons : image and text buttons...
class inline_text_widget_button : ?activated:bool -> string ->
object
.. end
simple text_widget with buttons capabilities
class virtual cyclic_text_button_wrap : bool -> string -> string list -> AXOJs.obj ->
object
.. end
text buttons that changes its content when clicked
class cyclic_inline_text_button : ?activated:bool -> string -> string list ->
object
.. end
class cyclic_img_button : ?activated:bool -> string -> string -> string list ->
object
.. end
image buttons
class img_button : ?activated:bool -> ?alt:string -> string ->
object
.. end
module On_input_change: AXOEvents.Make
(
sig
end
)
User input : select/text input (with auto updating)...
class ['a]
select : ('a -> string) -> (string -> 'a) -> 'a -> 'a list ->
object
.. end
class ['a]
auto_update_select : ('a -> string) -> (string -> 'a) -> 'a -> 'a list -> string -> string -> (string * string) list ->
object
.. end
class text_input : string ->
object
.. end
class ['a]
typed_text_input : ?parse_error_color:AXOWidgets.color -> ?parse_error_message:string -> ?size:int -> ('a -> string) -> (string -> 'a) -> 'a ->
object
.. end
Folding : a foldable block.
class block_foldable : ?folded:bool -> ?persistent_as_container:bool -> AXOWidgets.generic_button -> AXOWidgets.generic_container -> AXOWidgets.generic_container ->
object
.. end
tree : a function to represent a foldable tree
val foldable_tree : ?depth:int ->
?persistent_as_container:bool ->
?separators:('a ->
'a AXOLang.LTree.tree list -> bool -> AXOWidgets.common option) ->
'a AXOLang.LTree.tree ->
('a ->
'a AXOLang.LTree.tree list ->
bool ->
AXOWidgets.generic_button * AXOWidgets.generic_container *
AXOWidgets.generic_container) ->
AXOWidgets.generic_container -> block_foldable
class mask :
object
.. end
Mask : makes a black semi-transparent fullsized panel.
links
class link_widget : ?href:string -> string ->
object
.. end
class img_link : ?href:string -> src:string -> alt:string ->
object
.. end
class popup : ?background:AXOWidgets.color -> #AXOWidgets.common ->
object
.. end
popup : to make popup with content
class ul_widget_container :
object
.. end
ul, ol, li
class li_widget_container :
object
.. end
movable : a movable structure (can be made into a window)
/!\ slow when populated with lots of nodes
module Movable_move: AXOEvents.Make
(
sig
end
)
module Movable_down: AXOEvents.Make
(
sig
end
)
module Movable_up: AXOEvents.Make
(
sig
end
)
class movable : #AXOWidgets.common -> #AXOWidgets.common ->
object
.. end