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.
Related Questions
- Is it better to select items in the keyword, author or periodical name fields using the Automatic Popup Browser? If so, what are the advantages?
- Can I use a gift card to purchase items on the partner sites and still get AT&T Select Business Rewards points?
- How can I programatically select all of the items in an XmList?