gtk interface responsiveness

Moritz Maxeiner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 7 15:59:16 PDT 2017


On Monday, 7 August 2017 at 22:02:21 UTC, Johnson Jones wrote:
> I have an icon that I toggle which clicked. It seems that I 
> can't toggle it any faster than about a second.
>
> The handler is being called each click but it seems the gui is 
> not updated more than about 1fps in that case? Although, I'm 
> sure it update faster than 1fps, just seems the icon/image 
> isn't.
>
> The code I use to set the image is:
>
> Image.setFromStock("gtk-go-up", GtkIconSize.SMALL_TOOLBAR);
>
> or
>
> Image.setFromStock("gtk-go-down", GtkIconSize.SMALL_TOOLBAR);
>
> [...]

Could you please post the complete minimal code (and compiler 
options) (or a link to them) required to reproduce the issue?


More information about the Digitalmars-d-learn mailing list