paragui-users
[Top][All Lists]
Advanced

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

Re: Re[4]: [paragui-users] PAraGUI loading time


From: Alexander Pipelka
Subject: Re: Re[4]: [paragui-users] PAraGUI loading time
Date: 17 Jun 2002 14:33:57 +0200

You can enable/disable dirty updates via:

widget.SetDirtyUpdate(bool)

Dirty updates can increase widget drawing performance but the widget
background may not been redrawn properly.

Alex


Am Mon, 2002-06-17 um 14.23 schrieb taurus:
> Hello Alexander,
> 
> Friday, June 14, 2002, 15:34:23, you wrote:
> 
> AP> (on my rather slow Celeron 300)
> AP> But i found that the most time consuming part is the creation of the
> AP> widgets. Displaying them is rather fast. I guess the slow part is
> AP> "LoadThemeStyle". 
> 
>     They all load rather fast...
> 
> AP> Maybe you should check the drawing code of your widget.
> 
>    I found that the most slow code is .RestoreBackground()!
>    lines in the beginning of this function slow down the process of
>    .Show() and .Hide():
> ******************
>         if(my_internaldata->dirtyUpdate && (my_internaldata->transparency == 
> 0) && !force) {
>                 return false;
>         }
> ******************
>   Without them, it works pretty faster on .Hide() and .Show(), but not
>   still good on Initializing the app. :(
>   When dirtyUpdate flag is used?
>    
> AP> Can you create some minimal sample app showing that behaviour ?
> 
>    Ok.
> 
> Kind regards,
>        taurus                          
> 
> address@hidden
> 
>  ->> "If you will have a megaphone, you will never have to be alone..."
> 
> 
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
> 






reply via email to

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