package ecaml

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

Module Tabulated_list.ColumnSource

Sourcetype 'record t

A column of data to be displayed on screen.

Sourceval create : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> ?sortable:bool -> header:string -> ('record -> string) -> 'record t

Each time we draw the buffer, the column is resized to fit the widest value (or the header), within the range min_width, max_width inclusive.

Sourceval text : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> ?sortable:bool -> header:string -> ('record -> Text.t) -> 'record t
Sourceval create_gen : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> header:string -> get_field:('record -> 'field) -> render_field:('field -> Text.t) -> compare_field:('field -> 'field -> int) -> unit -> 'record t