package stk

  1. Overview
  2. Docs
val mutable columns : 'a column array
val mutable data : 'a array
val mutable selection : Stk.Misc.ISet.t
method add_column : ?pos:int -> 'a column -> int
method private col_of_x : int -> int option
method private column_index : 'a column -> int option
method column_by_index : int -> 'a column option
method column_separator_color : int32
method column_separator_width : int
method connect_data_set : ('a list -> unit) -> Stk.Events.callback_id
method connect_row_inserted : (int -> 'a -> unit) -> Stk.Events.callback_id
method connect_row_removed : (int -> 'a -> unit) -> Stk.Events.callback_id
method connect_row_selected : (int -> 'a -> unit) -> Stk.Events.callback_id
method connect_row_unselected : (int -> 'a -> unit) -> Stk.Events.callback_id
method connect_row_updated : (int -> prev:'a -> now:'a -> unit) -> Stk.Events.callback_id
method data : 'a array
method focused_cell : (int * 'a column) option

Return the row and column having the focus, if any.

method insert : ?pos:int -> 'a -> int
method line_separator_color : int32
method line_separator_width : int
method move_focus_down : bool
method move_focus_end : bool
method move_focus_home : bool
method move_focus_left : bool
method move_focus_right : bool
method move_focus_row_end : bool
method move_focus_row_home : bool
method move_focus_up : bool
method remove : int -> unit
method remove_column : 'a column -> unit
method render_separators : Tsdl.Sdl.renderer -> offset:(int * int) -> Stk.G.t -> unit
method private resize_all : ?headers:bool -> ?from:int -> unit -> unit
method row_height : int
method private row_min_height : int -> int
method private row_of_y : int -> int option
method private select_or_unselect_row : int -> unit
method select_row : ?only:bool -> int -> unit
method selected : bool
method selection : int list
method selection_data : 'a list
method selection_mode : Stk.Props.selection_mode
method set_column_separator_color : int32 -> unit
method set_column_separator_width : int -> unit
method private set_columns_geometry : unit
method private set_headers_heights : unit
method set_line_separator_color : int32 -> unit
method set_line_separator_width : int -> unit
method set_list : 'a list -> unit
method set_row : int -> 'a -> unit
method set_row_height : int -> unit
method private set_row_y_height : int -> y:int -> h:int -> unit
method private set_rows_heights : ?from:int -> unit -> unit
method set_selection_mode : Stk.Props.selection_mode -> unit
method set_show_headers : bool -> unit
method set_sorted : sorted -> unit
method show_headers : bool
method sort_by_column : ?order:sort_order -> 'a column -> unit
method sorted : sorted option
method unselect_all : unit
method unselect_row : int -> unit
method private unselect_row_ : int -> unit
method private valid_row : ?tip:string -> int -> bool
OCaml

Innovation. Community. Security.