Usage|History

FileSorter Reference

Constructor Methods

make

Make a new FileSorter instance.

make_with_delegate

Make a new instance with setting delegate.

Accessor Methods

set_delegate

set a delegate script into the instance.

delegate

Return a delegate script object of the instance.

Instance Methods

sorted_items

Return a sorted list of files/folders according to the view of Finder.

Delegate Methods

The behavior of FileSorter can be costomized by passing a script object which have folloing handlers to make_with_delegate or set_delegate.

resolve_container

Return a folder of which view determine the sorting order.

target_items_at

Return a list of files and folders to be sort.

is_rowwise_for_iconview

Whether items will be sorted in row wise, when the view is the icon view.

Usage|History