Re: TGSlider vs TSlider

From: ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Date: Fri Jun 18 1999 - 09:55:13 MEST


On 17-Jun-99 at 13:19, Thomas Eberl (Thomas.Eberl@physik.tu-muenchen.de) wrote:
> Dear rooters,
> 
> The class TSlider provides the possibility to resize the slider in the
> SliderBox, in order to, for example, zoom into a histogram.
> 
> I have based my GUI on the new TGXXX classes of Root and I now need
> exactly this functionality given by TSlider. Therefore, I would like to
> know if there is a TG... class that provides similar capabilities as
> TSlider. TGHSlider and TGVSlider contain only fixed size sliders, if I
> have understood correctly.
> 
> In case that I have to use TSlider, I would like to know if this is
> possible in a class that is derived from TGMainFrame. (--> so far
> Segmentation violation)
>  
> Many thanks in advance
> 
> Thomas
> -- 
> Thomas Eberl                       Phone: (+49 89) 289 1 2425   
> Physik-Department E12, Technische Universitaet Muenchen
> James-Franck-Strasse *** 85748 Garching b. Muenchen
> Email: Thomas.Eberl@physik.tu-muenchen.de


Hi Thomas,

have a look at classes TGDoubleVSlider and TGDoubleHSlider.
Hope this helps.

Reiner.



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