[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 118) How can I configure a scrolled list widget to show a horizontal
Next Document: 120) TOPIC: FILE SELECTION BOX WIDGET


119) How can I programatically select all of the items in an XmList?


[Last modified: May 98]

Answer: Invoke the same action that "C-/" uses for selecting everything.  Try
something like:

XtCallActionProc(list, "ListKbdSelectAll", event, NULL, 0);

If you don't have an event handy passing NULL for it will probably work too.
The lack of an XmListSelectAllItems() api was just an oversight.

David KAELBLING <drk@sgi.com>



Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 118) How can I configure a scrolled list widget to show a horizontal
Next Document: 120) TOPIC: FILE SELECTION BOX WIDGET

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)

Last Update October 07 2008 @ 00:12 AM

© 2008 FAQS.ORG. All rights reserved.