Top Document: Motif FAQ (Part 6 of 9) Previous Document: 166) What widget does the XmScrolledWindow use for its clip window? Next Document: 168) TOPIC: MENUS See reader questions & answers on this topic! - Help others by sharing your knowledge [Last modified: July 95] Answer: If you're using the default application-defined scrolling mode, you can just create one and specify NULL for the other. If, however, you're using automatic scrolling, retrieve the ID of the unwanted scrollbar with XmNhorizontalScrollBar or XmNverticalScrollBar and unmanage that widget: Widget hScroll; XtVaGetValues(scrollbar, XmNhorizontalScrollBar, &hScroll, NULL); XtUnmanageChild(hScroll); Thanks to Ken Lee, http://www.rahul.net/kenton/. Typo corrected by Paul Tomblin, ptomblin@canoe.com. User Contributions:Top Document: Motif FAQ (Part 6 of 9) Previous Document: 166) What widget does the XmScrolledWindow use for its clip window? Next Document: 168) TOPIC: MENUS 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: