[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [paragui-users] PAraGUI loading time
From: |
taurus |
Subject: |
Re[2]: [paragui-users] PAraGUI loading time |
Date: |
Fri, 14 Jun 2002 15:15:43 +0100 |
Hello Alexander,
Friday, June 14, 2002, 14:22:13, you wrote:
AP> Hmpf,..
AP> 1050 widgets. Cool.
yep :) Each of them - a cell on the map, plus some navigation widgets.
AP> How do you create these widgets ?
I have an array of widget pointers, which is filled before to show
them all.
AP> Are they shown immediately after creation ?
No, I create them before, then I show them, as I mentioned it above.
AP> I will try this and look for any performance traps.
Thanks! Some kind of crash test :)
>> I can see only gradient background of the parent
>> widget, child widget are not shown. I tried to use WidgetList,
>> the same :( What can be wrong?
AP> Do you use AddChild ? - Don't use it.
No.
AP> Always specify the parent in the constructor of the child.
That`s the way I do it.
Sorry, I didn`t mention before - those 1050 widget have parent -
background widget. It works correct, but when I`m trying to create
another widget container - child widgets are not shown, and I do all
the same way - I`ve checked it thousand times.
Maybe there is a constrain for the total amount of widget?
Kind regards,
taurus
address@hidden
->> "If you will have a megaphone, you will never have to be alone..."