next up previous contents index
Next: 2. The set_values() Method Up: 3. Geometry Management and Previous: 3. Geometry Management and   Contents   Index

1. The initialize() Method

initializemethodDon't do anything if you're a Composite (-derived) widget. You don't know enough yet (and you probably don't have any kids yet, unless the user created you with the XtNchildren resource: if the user does something like this, they're on their own). If you are a primitive widget (no pun intended...), you should know enough to do a basic layout.

Danny Backx