Tintin72 writes:
> Do you think is there a way to improve/optimise my code and remove this
> problem ?
Yes. Thanks to Mitch on #gimp for this hint: You should set the
background of the window instead of trying to paint the background
yourself in the expose_event handler. Below is your sample pro
On Sun, 2006-09-03 at 01:33 -0700, Tintin72 wrote:
> Hi again,
>
> Just for information, I would like you to see exactely the nature of this
> clipping problem.
> So I captured a little .avi movie (900ko) from my pc's screen.
> http://web8.free.fr/images/pbClipping.avi
> Quality is not very good
Hi again,
Just for information, I would like you to see exactely the nature of this
clipping problem.
So I captured a little .avi movie (900ko) from my pc's screen.
http://web8.free.fr/images/pbClipping.avi
Quality is not very good but it's just to give you an idea of the pb.
I forgot to say
>But when you let go of the slider, the windows look OK?
Yes.
>I don't think there is any problem then, surely it is understandable that
while
>scrolling there might be temporary display artifacts?
You wouldn't say that if you could see how ugly it looks on my system ;-)
>>> Do you have a scr
Tintin72 writes:
> Even if I remove the line:
> gtk_box_pack_start(GTK_BOX(myApp.pScrollBar), myApp.pDrawArea, TRUE, TRUE,
> 0);
> the clipping effect occurs just the same.
Of course it does. gtk_box_pack_start() notices the first paramter
isn't a GtkBox, so it returns immediately without do
>> Do you mean that even after you stop moving the slider your program looks
>> wrong?
> No, the clipping effect occurs while I move the slider.
But when you let go of the slider, the windows look OK? I don't think
there is any problem then, surely it is understandable that while
scrolling t
>This is a *run-time* warning.
Ok, but the pb remain the same.
Even if I remove the line:
gtk_box_pack_start(GTK_BOX(myApp.pScrollBar), myApp.pDrawArea, TRUE, TRUE,
0);
the clipping effect occurs just the same.
I'm wondering if GTK is really optimised for Windows environnement.
I didn't find
On Thu, Aug 31, 2006 at 05:01:59AM -0700, Tintin72 wrote:
>
> >gtk_box_pack_start(GTK_BOX(myApp.pScrollBar), myApp.pDrawArea, TRUE, TRUE,
> 0);
> >a GtkScrolledWindow is not a GtkBox. This line causes the warnings:
> >GLib-GObject-WARNING **: invalid cast from `GtkScrolledWindow' to `GtkBox'
> >G
Thanks for your reply.
>Do you mean that even after you stop moving the slider your program looks
wrong?
No, the clipping effect occurs while I move the slider.
>Do you have a screenshot?
http://web8.free.fr/images/pbClipping.gif
>I can't see any problem like you describe with your test prog
Tintin72 writes:
> So when I move the slider a little fast I get clipping effect on
> the edges (up or down) of the drawing area.
Could you explain more precisely what you mean? Do you mean that even
after you stop moving the slider your program looks wrong? Or just
intermittently during the scr
10 matches
Mail list logo