Stk.BinSourceWidgets which can contain one widget.
class bin : ?class_:string option -> ?name:string option -> ?props:Props.t option -> ?mutex:
Lwt_mutex.t
option -> unit -> object ... endWidget containing one child. This widget is usually not used directly but inherited.
val bin :
?class_:string ->
?name:string ->
?props:Props.t ->
?pack:(Widget.widget -> unit) ->
unit ->
binConvenient function to create a bin. See Widget arguments for arguments.
class event_box : ?class_:string option -> ?name:string option -> ?props:Props.t option ->
unit -> object ... endAn event_box is a bin widget which differs in the way events are propagated: if an event is not handled by this widget, then it is propagated to its child. This is useful for example to catch keystrokes for keyboard shortcuts.
val event_box :
?class_:string ->
?name:string ->
?props:Props.t ->
?pack:(Widget.widget -> unit) ->
unit ->
event_boxConvenient function to create a event_box. See Widget arguments for arguments.
class fixed_size : ?class_:string option -> ?name:string option -> ?props:Props.t option -> ?w:
int
option -> ?h:int option -> unit -> object ... endA fixed_size widget is a bin widget whose width and height can be fixed.
val fixed_size :
?class_:string ->
?name:string ->
?props:Props.t ->
?w:int ->
?h:int ->
?pack:(Widget.widget -> unit) ->
unit ->
fixed_sizeConvenient function to create a fixed_size. w and h optional arguments specify width and height. See Widget arguments for other arguments.
Policy to display scrollbars.
`ALWAYS: always displays scrollbar, even when not needed.`NEVER: never displays scrollbar, even when needed.`AUTOMATIC: displays scrollbar only when needed, i.e. when child content is larger than the scrollbox in the considered direction (horizontal or vertical).Ocf wrapper for scrollbar_policy.
val scrollbox :
?class_:string ->
?name:string ->
?props:Props.t ->
?hpolicy:scrollbar_policy ->
?vpolicy:scrollbar_policy ->
?pack:(Widget.widget -> unit) ->
unit ->
scrollboxConvenient function to create a fixed_size. hpolicy and vpolicy optional arguments specify horizontal and vertical scrollbar policies. See Widget arguments for other arguments.