Re: Unsolved clipping problem




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 program, and the
current versions of GTK+, Pango and cairo.
As I said, lately a guy compiled my code (on a Linux system) and don't found
anything too.
So, I really don't understand.

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'
Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
I.e. the gtk_box_pack_start() function returns withou doing anything
at all. Don't you get these warnings?
No, I use CodeBlocks 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.




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