TextCatenator

Constructor

TextCatenator <id>

Action

Concatenates the head and tail properties each time one of it is updated.

Predefined children

  • TextProperty: head, tail, output.

Example


use core
use base
use display
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 500, 500)
  TextCatenator cat ("","")
  "x: " =: cat.head
  f.move.x =:> cat.tail
  TextPrinter log
  cat.output =:> log.input
}