package stk

  1. Overview
  2. Docs

Labelled frame widget.

val border_width : int Props.prop

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

class 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.

val 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.

OCaml

Innovation. Community. Security.