Next: , Previous: BLOX.Blox-basic, Up: BLOX.Blox


1.26.7 BLOX.Blox: creating children

make: array
Create children of the receiver. Answer a Dictionary of the children. Each element of array is an Array including: a string which becomes the Dictionary's key, a binding like #{Blox.BWindow} identifying the class name, an array with the parameters to be set (for example #(#width: 50 #height: 30 #backgroundColor: 'blue')), and afterwards the children of the widget, described as arrays with this same format.


make: array on: result
Private - Create children of the receiver, adding them to result; answer result. array has the format described in the comment to #make:


makeChild: each on: result
Private - Create a child of the receiver, adding them to result; each is a single element of the array described in the comment to #make: