 |
-
Can't your customers tell the difference between a square shaped and a
diamond shaped indicator toggle buttons usually display?
-
Or can't your customers distinguish when an indicator is in the "on" state?
-
Can't you bear the toggle button's outer appearance (hehehe)?
Here you can get a little add-on which should solve all this problems.
Instead of creating ToggleButton widgets with
widget = XmCreateToggleButton(parent_widget, "name",
Args, NumArgs);
you simply use
widget = XmCreateToggleButtonPlus(parent_widget, "name",
Args, NumArgs);
instead. This will create a toggle button widget and modify some of its
resources and translations such that the desired effect can be achieved.
The picture at the top of this page shows how the new toggle button widgets
look like.
Here
you can take a look at the online documentation (contained in the file
ToggleBplus.doc).
And
here
you can get the source of the ToggleBplus package.
Back to the Projects page
Contents: Harald
Albrecht (albrecht@igpm.rwth-aachen.de)
Layout: Harald Albrecht
Last Change: 97/08/10 (ab) |