next up previous contents index
Next: 1. The Header Files Up: 6. Fun and Pain Previous: 6. RowColumn Specific Functions   Contents   Index

5. How to Build a Subclass Using the GeoUtils

XmTrivialAt this point, we've come full circle. Now that you know something about how the GeoUtils work, let's examine how a subclass can use them. I'll now talk about the XmTrivial widget class. It doesn't implement anything more than an even layout of the button children as if they were action buttons in a dialog. The order of the buttons in the layout is the same as the creation order. In order to keep it simple, there are no new Xt or synthetic resources beyond those covered by BulletinBoard. If you are thinking about using the GeoUtils, the Trivial class makes a pretty good template. The tested implementation lives in (LESSTIF_ROOT)/testXm/geometry.


Danny Backx