Re: Problem with ScrolledWindow in Windows

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

 



Ari Jolma kirjoitti:
> John Cupitt kirjoitti:
>   
>> Hi again Ari,
>>
>> On 10/13/06, Ari Jolma <ari.jolma@xxxxxx> wrote:
>>     
>>> Maybe my explanation was not very good. The "virtual" window is really
>>> virtual in the sense that I always create an image, which is just the
>>> size of the actual visible window. The rest is just imaginary space.
>>> Thus the size is not an issue in this sense. And the thing works after
>>> it has "settled" after the first deep zoom-in, as I wrote: usually it
>>> only needs to pan a bit.
>>>       
>> Sorry to ask again, but to be very clear, are the coordinates passed
>> to your expose handler ever more than 65535? That's the limit that
>> breaks on gdk-win32. You don't need to have a real image bigger than
>> that, just coordinates bigger than that.
>>     
>
> Ok, I misunderstood you. The coordinates that I pass to set_size_request 
> may be bigger than that but the problem occurs before that. Maybe I'm 
> not really understanding what you mean by expose handler?
>   

A retry. I just implemented an expose-event handler (I didn't need one 
before and I didn't even know about that particular event) and the 
coordinates it gets are very small. The handler gets called several 
times also in the state when the image is not showing.

Ari

> Ari
>
>   
>> John
>>     
>
>
>   


-- 
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux