Re: Refreshing ROOT gui frame after modifying elements

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Tue, 15 May 2012 17:20:36 +0200


Hi Bertrand,

Firstly, thanks a lot for taking a look at this.

On Tue, May 15, 2012 at 5:10 PM, Bertrand Bellenot <bertrand.bellenot_at_cern.ch> wrote:
> But note to vertically add frame (one below each other), you should use a
> TGVerticalFrame (m_EB_frame)

Do you mean the m_EB_btnframe[i] should be TGVerticalFrames instead? I say this because m_EB_frame is a tab in my application window; also I cannot change that as there are other tabs written by other people that I should not be editing.

> And as a general comment, when you add/remove frames, you should call
> something like:
> MapSubwindows()

I was doing this one later in the code (forgot to copy it in the email).

> Resize(GetDefaultSize())
> Layout()

These to I have been missing. I will try to make changes based on these comments and see if my issue improves. Thanks a lot again. :)

-- 
Suvayu

Open source is the future. It sets us free.
Received on Tue May 15 2012 - 17:21:05 CEST

This archive was generated by hypermail 2.2.0 : Tue May 15 2012 - 17:50:01 CEST