package inquire
An OCaml library to create beautiful interactive CLIs
Install
Dune Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_widget_impl/Make/index.html
Module LTerm_widget_impl.Make
Source
Parameters
module LiteralIntf : LiteralIntf.Type
Signature
Source
class button : ?brackets:(LiteralIntf.string_intf * LiteralIntf.string_intf) -> LiteralIntf.string_intf ->
LTerm_buttons.button
Source
class 'a radiobutton : 'a LTerm_buttons.radiogroup -> LiteralIntf.string_intf -> 'a -> 'a
LTerm_buttons.radiobutton
Interface between an adjustment and a scrollbar widget.
Source
class vscrollbar : ?rc:string -> ?default_event_handler:bool -> ?width:int -> LTerm_scroll_impl.scrollable_adjustment ->
LTerm_scroll_impl.vscrollbar
Source
class hscrollbar : ?rc:string -> ?default_event_handler:bool -> ?height:int -> LTerm_scroll_impl.scrollable_adjustment ->
LTerm_scroll_impl.hscrollbar
Source
val run :
LTerm.t ->
?save_state:bool ->
?load_resources:bool ->
?resources_file:string ->
< allocation : LTerm_geom.rect
; can_focus : bool
; children : LTerm_widget_base_impl.t list
; cursor_position : LTerm_geom.coord option
; draw : LTerm_draw.context -> LTerm_widget_base_impl.t -> unit
; focus : LTerm_widget_base_impl.t option LTerm_geom.directions
; on_event :
?switch:LTerm_widget_callbacks.switch ->
(LTerm_event.t -> bool) ->
unit
; parent : LTerm_widget_base_impl.t option
; queue_draw : unit
; resource_class : string
; resources : LTerm_resources.t
; send_event : LTerm_event.t -> unit
; set_allocation : LTerm_geom.rect -> unit
; set_focus : LTerm_widget_base_impl.t option LTerm_geom.directions -> unit
; set_parent : LTerm_widget_base_impl.t option -> unit
; set_queue_draw : (unit -> unit) -> unit
; set_resource_class : string -> unit
; set_resources : LTerm_resources.t -> unit
; size_request : LTerm_geom.size
; update_resources : unit.. > ->
'a Lwt.t ->
'a Lwt.t
Source
val run_modal :
LTerm.t ->
?save_state:bool ->
?load_resources:bool ->
?resources_file:string ->
LTerm_toplevel_impl.t Lwt_react.event ->
unit Lwt_react.event ->
< allocation : LTerm_geom.rect
; can_focus : bool
; children : LTerm_widget_base_impl.t list
; cursor_position : LTerm_geom.coord option
; draw : LTerm_draw.context -> LTerm_widget_base_impl.t -> unit
; focus : LTerm_widget_base_impl.t option LTerm_geom.directions
; on_event :
?switch:LTerm_widget_callbacks.switch ->
(LTerm_event.t -> bool) ->
unit
; parent : LTerm_widget_base_impl.t option
; queue_draw : unit
; resource_class : string
; resources : LTerm_resources.t
; send_event : LTerm_event.t -> unit
; set_allocation : LTerm_geom.rect -> unit
; set_focus : LTerm_widget_base_impl.t option LTerm_geom.directions -> unit
; set_parent : LTerm_widget_base_impl.t option -> unit
; set_queue_draw : (unit -> unit) -> unit
; set_resource_class : string -> unit
; set_resources : LTerm_resources.t -> unit
; size_request : LTerm_geom.size
; update_resources : unit.. > ->
'a Lwt.t ->
'a Lwt.t
Source
val prepare_simple_run :
unit ->
(< allocation : LTerm_geom.rect
; can_focus : bool
; children : LTerm_widget_base_impl.t list
; cursor_position : LTerm_geom.coord option
; draw : LTerm_draw.context -> LTerm_widget_base_impl.t -> unit
; focus : LTerm_widget_base_impl.t option LTerm_geom.directions
; on_event :
?switch:LTerm_widget_callbacks.switch ->
(LTerm_event.t -> bool) ->
unit
; parent : LTerm_widget_base_impl.t option
; queue_draw : unit
; resource_class : string
; resources : LTerm_resources.t
; send_event : LTerm_event.t -> unit
; set_allocation : LTerm_geom.rect -> unit
; set_focus :
LTerm_widget_base_impl.t option LTerm_geom.directions ->
unit
; set_parent : LTerm_widget_base_impl.t option -> unit
; set_queue_draw : (unit -> unit) -> unit
; set_resource_class : string -> unit
; set_resources : LTerm_resources.t -> unit
; size_request : LTerm_geom.size
; update_resources : unit.. > ->
'a Lwt.t)
* (< allocation : LTerm_geom.rect
; can_focus : bool
; children : LTerm_widget_base_impl.t list
; cursor_position : LTerm_geom.coord option
; draw : LTerm_draw.context -> LTerm_widget_base_impl.t -> unit
; focus : LTerm_widget_base_impl.t option LTerm_geom.directions
; on_event :
?switch:LTerm_widget_callbacks.switch ->
(LTerm_event.t -> bool) ->
unit
; parent : LTerm_widget_base_impl.t option
; queue_draw : unit
; resource_class : string
; resources : LTerm_resources.t
; send_event : LTerm_event.t -> unit
; set_allocation : LTerm_geom.rect -> unit
; set_focus :
LTerm_widget_base_impl.t option LTerm_geom.directions ->
unit
; set_parent : LTerm_widget_base_impl.t option -> unit
; set_queue_draw : (unit -> unit) -> unit
; set_resource_class : string -> unit
; set_resources : LTerm_resources.t -> unit
; size_request : LTerm_geom.size
; update_resources : unit.. > ->
unit ->
unit)
* (?step:React.step ->
unit ->
unit)
* ('a ->
unit)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page