Re: TMotifControlBar. Use TControlBar instead

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 25 1997 - 16:36:38 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET