Squeak
  QotD    "To be or not to be" – Shakespeare
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Model buildWindowWith: builder
Last updated at 4:24 am UTC on 6 July 2018
The method #buildWindowWith: is used for constructing tools with ToolBuilder.

 buildWindowWith: builder
	| windowSpec |
	windowSpec := builder pluggableWindowSpec new.
	windowSpec model: self.
	windowSpec label: #windowTitle.
	windowSpec children: OrderedCollection new.
	^windowSpec

As of 2018 this method is only used directly by the HelpBrowser.
The method

 buildWindowWith: builder specs: specs

which has a collection of specs as parameters it what all the other tools built with ToolBuilder use.

The method #buildWindowWith:specs calls the method #buildWindowWith:.