package stk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stk.EditSource

Entry widgets.

Sourcemodule B = Textbuffer
Sourceval 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)).

Sourceval css_newline_char_codepoint : int Css.P.prop
Sourceclass entry : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata: Widget.wdata option -> unit -> object ... end
Sourcetype Widget.widget_type +=
  1. | Entry of entry
Sourceval entry : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?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.

OCaml

Innovation. Community. Security.