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.

Sourceval css_border_width : int Css.P.prop
Sourceclass frame : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata: Widget.wdata 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.

Sourcetype Widget.widget_type +=
  1. | Frame of frame
Sourceval frame : ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?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.