Re: [gtk-list] Re: GDK_EXPOSE
- From: slogan crash cts com (Syd Logan)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: GDK_EXPOSE
- Date: Tue, 16 Feb 1999 12:20:16 -0800
Thanks for pointing out this routine.
This routine checks for a GraphicsExpose or NoExpose event in the X event Q and
then goes into gdk_translate_event(), converting it into a GDK_EXPOSE event or
GDK_NO_EXPOSE event, accordingly. If I go looking for GraphicsExpose events this
way, I guess I know that the GDK_EXPOSE returned is really a GraphicsExposure,
although the overload of GDK_EXPOSE for two clearly different underlying X11
event types is annoying.
But I might want to hear about the GraphicsExpose/NoExpose events asynchronously
via a signal callback. If I am copying a huge area it would be more efficient to
fire the copy off and go do something else. Because GDK translates both Expose
and GraphicsExpose to GDK_EXPOSE, there would be this ambiguity -- was it an
Expose of the window that got me to my signal function, or was it a
GraphicsExpose? Should I redraw? Or report that an operation failed?
syd
On Feb 16, 7:23pm, john@giorgio.hart.bbk.ac.uk wrote:
} Subject: [gtk-list] Re: GDK_EXPOSE
} There's a function gdk_event_get_graphics_expose() to do g/expose
} processing. Does this solve your problem?
}
} John
}
} --
} To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
}
}-- End of excerpt from john@giorgio.hart.bbk.ac.uk
--
Syd Logan
slogan@cts.com
http://www.users.cts.com/crash/s/slogan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]