Top Document: Motif FAQ (Part 6 of 9) Previous Document: 210) How can I improve performance when creating and deleting Next Document: 212) TOPIC: XMSTRING See reader questions & answers on this topic! - Help others by sharing your knowledge GUI? [Last modified: Nov 97] Answer: For each change you make, the widget decides if it needs to redraw. If so, Xt calls XtClearArea to generate an expose event. You main loop dispatches the resulting expose event to your widget, causing a redisplay. Note that the redisplay may be delayed somewhat if you do not immediately return to the event loop after calling XtSetValues. You can often work around this by calling XmUpdateDisplay(). Note also that you should try to make all your changes in one large XtSetValues changing several values at once. If you call XtSetValues individually for each change you need to make, you could generate several expose events and redraw several times. User Contributions:Top Document: Motif FAQ (Part 6 of 9) Previous Document: 210) How can I improve performance when creating and deleting Next Document: 212) TOPIC: XMSTRING Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: