Next: BLOX.BWidget-geometry management, Previous: BLOX.BWidget-accessing, Up: BLOX.BWidget [Index]
The widget identified by child has been added to the receiver. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to basicAddChild, to perform some initialization on the children just added. Answer the new child.
Make the receiver able to respond to its widget protocol. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to super, to perform some initialization on the primitive widget just created; for an example of this, see the implementation of BButtonLike.
This is called by #new: to initialize the widget (as the name says...). The default implementation calls all the other methods in the ‘customization’ protocol and some private ones that take care of making the receiver’s status consistent, so you should usually call it instead of doing everything by hand. This method is public not because you can call it, but because it might be useful to override it. Always answer the receiver.
This is called by #initialize: to set the widget’s initial size. The whole area is occupied by default. This method is public not because you can call it, but because it can be useful to override it.