gtk interface responsiveness

Johnson Jones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 7 17:06:32 PDT 2017


On Monday, 7 August 2017 at 22:59:16 UTC, Moritz Maxeiner wrote:
> 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?

I'll try to formulate something when I get some time to do so. 
Just trying to get things to work the way I need them to see if 
gtk is gonna be the gui library I use.... lots of problems but 
hopefully it's just growing pains.



More information about the Digitalmars-d-learn mailing list