When you call `item()` inside the lambda for the `...
# tornadofx
e
When you call
item()
inside the lambda for the
bind
call, you are automatically binding the item to the surrounding menu. Then the item is returned, and the
bind
function also attaches the item to the menu. For this reason it might not be completely correct to use a builder for this, but the framework smoothes it over for you 🙂