Re: [ROOT] using GUI

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Aug 13 2001 - 15:43:37 MEST


Currently a horizontal bar is not (yet) supported. You could make your
own type of bar using the GUI classes.

Cheers, Fons.

Primrose Mbanefo wrote:
> 
> Hello everyone,
> I'm trying to draw a horizontal bar to which I will add a few buttons but the
> following instructions produce the same effect:
> 
> TControlBar *mainbar = new TControlBar("vertical","Presenter",200,200);
> TControlBar *mainbar = new TControlBar("horizontal","Presenter",200,200);
> 
> And each time Itry to add new buttons to the horizontal bar they are always
> one on top of the other instead of side by side.
> 
> I've already tried to divide the bar into columns but that didn't work either.
> What can I do?
> Primrose.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET