paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] LoadLayout


From: Vladimír Marek
Subject: Re: [paragui-users] LoadLayout
Date: Fri, 19 Nov 2004 15:39:17 +0100
User-agent: Mutt/1.4.2i

[...]
> > If I use LoadLayout for the second time, the layout is added to the
> > current one. I can't find a way how to remove all (or just one by
> > one) widgets from PG_Application.
[...]

> A suggestion. I haven't tested this, but from a quick glance over the
> code, it should work.
> 
> 1. Create a new widget
> 2. Use the LoadLayout function of this widget
> 3. When you want to load another layout, delete this widget and create a
>    new one
> 
> Instead of removing the widget it may be enough to call
> PG_Widget::RemoveAllChilds().

Thank you for quick reply, it looks like that might do that. I will try
it and report the result.

--
        Neuron

Attachment: pgpy_UCH16yuE.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]