Skip to content

Wigets module #6

Description

@cedlemo

Create the following widgets:

  • a table with columns and row
    should be feeded with a list of of list strings
gen_table ?headers row

(* ~headers:string list -> string list list-> Notty.Image *)

See how to handle size of columns

  • a scrolled window
    take a Notty.Image as an argument, is its size (h or w) > main window size, user should be able to move up/down right/left in order to see the hidden part.
scrolled image

(* Notty.Image -> Notty.Image *)

See how to handle the key event.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions