Andy Piper <andy(a)xemacs.org> writes:
At 09:34 PM 4/29/00 -0500, William M. Perry wrote:
>Ok, so I've got scrollbars (almost) working, and am going to try and tackle
>the redisplay weirdness I've been seeing. Basically that consists of:
>
>1) Expose events - I _get_ all the expose events I am supposed to, but the
> text only appears if I obscure the Gtk XEmacs frame with a normal XEmacs
> frame. If I obscure then expose it using an xterm, everything (bht the
> modeline) shows up as just the blank background color.
>
>2) C-l causes something similar to happen - it redraws the LINE I am on,
> but everything else (but the modeline) disappears.
>
>Does this ring any bells with the redisplay experts (ben, andy, jonathan)?
Presumably your event code calls gtk_redraw_exposed_area? This part isn't
actually generalised but is in fact called directly from the native event
loop.
Yes, it does. Right now I am hooking into one of the signals generated by
the widget instead of doing it directly from my new subclass of GtkFixed,
but...
The interesting thing is that if I don't hook the generic 'event' driver,
redisplay works. But then of course I don't get any input from the
user. :) Ought to be an interesting day. :)
-Bill P.