classcamembert::Item

sys::Obj
  camembert::Item

@Serializable

dis

Source

Str dis

icon

Source

Image? icon

indent

Source

Int indent := 0

loc

Source

ItemLoc loc := ItemLoc.make() |ItemLoc->Void| { ... }

makeLoc

Source

new makeLoc(Int line, Int col, Span? span)

makeStr

Source

new makeStr(Str dis)

Source

virtual Menu? popup(Frame frame)

Called when item is right cliked on isRootItem is true if it's the first item in the list and a project

pos

Source

Pos pos()

selected

Source

virtual Void selected(Frame frame)

Called when item is selected (left clicked on)

setDis

Source

This setDis(Str dis)

setIcon

Source

This setIcon(Image? icon)

setIndent

Source

This setIndent(Int indent)

setLoc

Source

This setLoc(ItemLoc loc)

setSpace

Source

This setSpace(Space? space)

space

Source

Space? space()

spaceId

Source

Str? spaceId { private set }