(maybe is it a clue):
More I draw lines in the drawarea, more the clipping effect appears during
the scrolling.
Tintin72
--
View this message in context:
http://www.nabble.com/Unsolved-clipping-problem-tf2188276.html#a6120272
Sent from the Gtk+ - Apps Dev forum at Nabble.com
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 but
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
IDE (with warning option checked).
Have you any idea about this pb ?
--
View this message in context:
http://www.nabble.com/Unsolved-clipping-problem-tf2188276.html#a6078025
Sent from the Gtk+ - Apps Dev forum at Nabble.com.
___
gtk-app-devel-list
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'
a single clue about my problem. 2 persons have compiled my
code (under Linux) and it works... very strange.
I really need help
Thanks
--
View this message in context:
http://www.nabble.com/Unsolved-clipping-problem-tf2188276.html#a6114208
Sent from the Gtk+ - Apps Dev forum at Nabble.com
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 there
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 doing
a screenshot?
http://web8.free.fr/images/pbClipping.gif
Is this how it looks just temporatily while you are moving the slider
Yes it is.
Do you think is there a way to improve/optimise my code and remove this
problem ?
--
View this message in context:
http://www.nabble.com/Unsolved-clipping-problem
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
, and I've never had this
kind of problem.
Is there any incompatibilities between GTK and Windows ?
Can somebody help me ?
Thanks for advance
--
View this message in context:
http://www.nabble.com/Unsolved-clipping-problem-tf2188276.html#a6054038
Sent from the Gtk+ - Apps Dev forum at Nabble.com
11 matches
Mail list logo