Stk.NotebookSourceNotebook widget.
The "active_page" property, representing the 0-based index of the active (i.e. displayed) page in a notebook.
Property "tab_props" to store properties used for notebook tabs.
class notebook : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... endNotebook widget.
val notebook :
?orientation:Props.orientation ->
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?pack:(Widget.widget -> unit) ->
unit ->
notebookConvenient function to create a notebook. Default orientation is Horizontal. The widget has class "vertical" or "horizontal" depending on orientation. See Widget arguments for other arguments.
val hnotebook :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?pack:(Widget.widget -> unit) ->
unit ->
notebookSame as notebook but orientation is already fixed to Horizontal.
val vnotebook :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?pack:(Widget.widget -> unit) ->
unit ->
notebookSame as notebook but orientation is already fixed to Vertical.