GUI questions

ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Wed, 18 Mar 1998 10:19:08 +0100 (MET)


Hello ROOT team,

I have started to look to the new GUI of ROOT. It looks good but there are some
questions coming up:

1) Is it possible to use the TGComositeFrame without a layout manager?
I'm able to place the buttons with the TGFrame::MoveResize() function. But as
soon as I resize the window with the mouse or if I call the functions
TGCompositeFrame::ShowFrame() or TGCompositeFrame::HideFrame() I get an

*** Break *** segmentation violation

error. The program still runs and the wanted action is done.

2) Is it possible to write a Layout Manager by myself. Do you have some hints
how to do it.

3) Is is possible to enable and disable widgets like buttons. I only found the
functions ShowFrame() and HideFrame(). But not something like EnableFrame() and
DisableFrame().

Thanks for your help
Reiner.