Hi,

I have a matrix with togglebutton widget cells. Scrolling the matrix I
noticed, that everything except the widgets are scrolled OK, but all widgets
remained in place. After an XbaeMatrixRefresh(), or resizing the window the
togglebuttons are displayed in the correct cell. I made a very-very dirty and
ugly hack in src/ScrollMgr.c, in function void xbaeScrollVertCB() : it calls
always a refresh(). I know it's A Bad Thing(tm) (ugly hack, and flickers all
the time), can anyone explain, how to fix this in a clean way?

bash-2.05a$ diff -u ScrollMgr.c.old ScrollMgr.c
--- ScrollMgr.c.old     Fri Feb 22 16:52:12 2002
+++ ScrollMgr.c Fri Feb 22 16:32:56 2002
@@ -402,6 +402,7 @@
                                }
                        }
                }
+               XbaeMatrixRefresh( mw );
        }

        /*

--
Putz �kos               Email : [EMAIL PROTECTED]
evosoft Hungary         http://www.evosoft.hu

_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to