Canvas.itemSourceThis virtual class defines the item interface. Most of the virtual methods correspond to methods of Widget.widget and are defined by inherting from Widget.widget or other widgets.
method as_item : itemmethod virtual id : Stk.Oid.tmethod virtual geometry : Stk.G.tmethod virtual get_p : 'a. 'a Stk.Props.prop -> 'amethod virtual coerce : Stk.Widget.widgetmethod virtual wtree : Stk.Widget.widget Stk.Widget.treemethod virtual width_constraints : Stk.Widget.size_constraintsmethod virtual height_constraints : Stk.Widget.size_constraintsmethod virtual as_full_item : full_item_method group : group_ optionmethod set_group : group_ option -> unitmethod get_item_at : x:int -> y:int -> full_item_ optionmethod get_leaf_items_at : full_item_ list -> x:int -> y:int -> full_item_ list