package stk

  1. Overview
  2. Docs
SDL-based GUI toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-stk-0.4.0.tar.bz2
md5=4a7d5aeecb002fa711a6eb002a544713
sha512=f2efc05917d5916980a8d09426b629028a748c00c19667b0bf4e0cf0c8811d80b5a693b95f662301bfbe3162cefd73e7f02e98cb5c1020876cbcf9fc81930434

doc/stk/Stk/Canvas/class-group/index.html

Class Canvas.groupSource

A group is a [full_item] container_item. Its kind is "canvas_group".

method as_group : group
method items : full_item_ list
method clear : unit

Removes all items from group.

method of_canvas_coords : x:int -> y:int -> int * int
method width : int
method height : int
method add_item : ?x:int -> ?y:int -> full_item -> unit

Adds the given item to group. The item's coordinates can be set with x and y optional arguments.

method remove_item : full_item -> unit

Removes the given item from the group.

method raise : full_item -> unit

Raises the given item above all the other items of the group.

OCaml

Innovation. Community. Security.