[ROOT] Re: TileFrame...

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jul 31 2001 - 13:22:02 MEST


Hi Simon,

  the original example in guitest works. So check carefully what is different
in your new TileFrame class with respect to the original. Otherwise send me
a piece of code I can run which demonstrates the problem.

Cheers, Fons.



simon wrote:
> 
> hi rooters,
> 
>         I recently implemented a modified version of the TileFrame class
> featured in the example Guitest.cxx so i can use the vertical scroll controling
> the viewport. It seems like where ever i associate widgets i added to the
> viewport, event they should generate are not caught by the according Bool_t
> ProcessMessage(...) function. In fact, i tried  to associate my checkbuttons
> with the TGCanvas or its container(the TileFrame) and there is never a
> kC_COMMAND, kCM_CHECKBUTTON caught in neither of their ProcessMessage() func.
> 
>         Is it normal that no events are generated by widgets inside a viewport?
> if yes, any idea how to implement a "checklist" with a huge number of
> checkbutton that exceed its frame size ?
> if no, with what frame should i associate the same checkbuttons displayed in the
> viewport of my TileFrame so their event can actually be processed?
> 
> thank you very much

-- 
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:53 MET