package stk

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

Module Stk.FrameSource

Labelled frame widget.

Sourceval border_width : int Props.prop

Property "frame_border_width" to specify the width of the frame's border.

Sourceclass frame : ?class_:string option -> ?name:string option -> ?props:Props.t option -> ?label: Widget.widget option -> unit -> object ... end

The frame widget. Optional argument label can be used to pass the widget used in label position. Any widget can be used as label.

Sourceval frame : ?name:string -> ?props:Props.t -> ?label:Widget.widget -> ?pack:(Widget.widget -> unit) -> unit -> frame

Convenient function to create a frame. Optional arguments label can be used to add the widget to be placed in label position. See Widget arguments for other arguments.