Legacy Mac OS X Reference Library Apple Developer Connection

WOSortOrder

A WOSortOrder component enables the user to sort the objects displayed by a WODisplayGroup. It displays an icon representing the current sorting order (current sorting order unsorted, ascending orderascending, or descending orderdescending.) When the user clicks the icon, the component modifies the display group’s sort orderings and redisplays the display group’s objects.

Synopsis

WOSortOrder { displayGroup=aDisplayGroup; key=aString; [displayKey=aString;] };

Bindings

displayGroup

The display group that receives the new sort order specification.

key

The key corresponding to the attribute to sort by.

displayKey

A user presentable string corresponding to key. The user’s browser displays a tooltip above the sort order icon: "Push to toggle sorting order according to displayKey." Defaults to key.



Last updated: 2004-12-02

Did this document help you? Yes It's good, but... Not helpful...