package stk

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

Module Stk.NotebookSource

Notebook widget.

Sourceval active_page : int Props.prop

The "active_page" property, representing the 0-based index of the active (i.e. displayed) page in a notebook.

Sourceval tab_props : Props.t Props.prop

Property "tab_props" to store properties used for notebook tabs.

Sourceclass notebook : ?class_:string option -> ?name:string option -> ?props:Props.t option -> unit -> object ... end

Notebook widget.

Sourceval notebook : ?orientation:Props.orientation -> ?class_:string -> ?name:string -> ?props:Props.t -> ?pack:(Widget.widget -> unit) -> unit -> notebook

Convenient function to create a notebook. Default orientation is Horizontal. The class_ argument defaults to "vnotebook" if orientation is Vertical or "hnotebook" if orientation is Horizontal. See Widget arguments for other arguments.

Sourceval hnotebook : ?class_:string -> ?name:string -> ?props:Props.t -> ?pack:(Widget.widget -> unit) -> unit -> notebook

Same as notebook but orientation is already fixed to Horizontal.

Sourceval vnotebook : ?class_:string -> ?name:string -> ?props:Props.t -> ?pack:(Widget.widget -> unit) -> unit -> notebook

Same as notebook but orientation is already fixed to Vertical.

OCaml

Innovation. Community. Security.