rubberbanding

2005-02-27 Thread kees
I am very gratefull for all the answers I got. I think we can close the subject after the hint of Antonio Gomes and the solution of Peter Bloomfield, although the mystery of the different behaviour in GTK1* and GTK2* remains a mystery to me. I thank you all again for helping me, GTK2 will remain nu

Re: rubberbanding with GTK1* and GTK2* again

2005-02-27 Thread Peter Bloomfield
On 02/26/2005 07:12:35 AM, kees wrote: Hello folks, Thanks everybody for trying to help me!! Since you're using the x[] and y[] arrays to remember a location between calls to drawareacb(), they need to be declared static. I've no idea how this worked under Gtk1! Peter

Re: rubberbanding with GTK1* and GTK2* again

2005-02-27 Thread Antonio Gomes
Hi Hess, I understand your "affliction", but you must to have in mind that GTK and GTK2 are different softwares. If some widgets and objects coexists, its implementation can differs or not, so these and others aspects can generate differents behaves, or direfferents look between programs compiled

rubberbanding with GTK1* and GTK2* again

2005-02-26 Thread kees
Hello folks, Thanks everybody for trying to help me!! I think, on reading your reactions, that I did not make myself sufficiently clear. To avoid further confusion I will point out the steps you have to take to really understand what I mean. 1. compile the program with GTK1*, as for instance a1.out

Re: rubberbanding with GTK1* and GTK2*

2005-02-25 Thread Gerald Emig
On Fri, 25 Feb 2005 13:42:48 +0100 Carlo Agrusti <[EMAIL PROTECTED]> wrote: > kees ha scritto lo scorso 25/02/2005 12:45: > > Can anyone explain to me why the very small program beneath, > > demonstrating a very basic form of rubberbanding, works excellent > > while c

Re: rubberbanding with GTK1* and GTK2*

2005-02-25 Thread Carlo Agrusti
kees ha scritto lo scorso 25/02/2005 12:45: Can anyone explain to me why the very small program beneath, demonstrating a very basic form of rubberbanding, works excellent while compiled with GTK1* but does not work correctly when compiled with GTK2*. [..] gint drawareacb(GtkWidget *widget

Re: rubberbanding with GTK1* and GTK2*

2005-02-25 Thread Maciej Katafiasz
Dnia 25-02-2005, pią o godzinie 12:45 +0100, kees napisał: > Can anyone explain to me why the very small program beneath, demonstrating > a very basic form of rubberbanding, works excellent while compiled > with GTK1* but does not work correctly when compiled with GTK2*. [snip]

rubberbanding with GTK1* and GTK2*

2005-02-25 Thread kees
Can anyone explain to me why the very small program beneath, demonstrating a very basic form of rubberbanding, works excellent while compiled with GTK1* but does not work correctly when compiled with GTK2*. There seems to be a problem with reading the cursor movements, but whatever it is, the