Re: TMotifControlBar. Use TControlBar instead

Rene Brun (Rene.Brun@cern.ch)
Fri, 25 Apr 1997 16:36:38 +0200


Maarten Bruinsma wrote:
>
> Hi there,
>
> I want to make a controlbar in my stand alone program. I want to use
> TMotifControlBar, but I have to give a widget and I don't know what it is.
> It is not described in the Types-list,
>
Maarten,

I would strongly encourage you to use the class TControlBar instead.
We have an example in the tutorials. TControlBar is independent
of Motif or Windows/NT and you do not need to know anything about
the underlying Motif data structures/widgets such as the Widget type
itself.
If you want to use TMotifControlBar (internally used by TControlBar
on X/Windows systems), you can look at the source of this class
now available on the Web, but you will need quickly access to
the Motif users guide (eg X and Motif Quick Reference Guide
by Randi J.Rost, Digital Press).

Rene Brun