Stk.Edit
Entry widgets.
module B = Textbuffer
val newline_char_codepoint : int Props.prop
Property used to define the character displayed instead of newline in single-line edition widgets. Default value is ↵ (U+21B5 (8629)).
val entry :
?class_:string ->
?name:string ->
?props:Props.t ->
?editable:bool ->
?text:string ->
?pack:(Widget.widget -> unit) ->
unit ->
entry
Convenient function to create a entry
. Optional arguments:
editable
specifies whether the contents is editable by user (default is true
).text
specifies the initial text (default is empty).See widget_arguments
for other arguments.