Package: gtk

Accessor gtk:directory-list-io-priority

Lambda List

gtk:directory-list-io-priority (object)

Syntax

(gtk:directory-list-io-priority object) => priority
(setf (gtk:directory-list-io-priority object) priority)

Arguments

object -- a gtk:directory-list object
priority -- an integer for the IO priority to use

Details

The accessor for the io-priority slot of the gtk:directory-list class gets or sets the IO priority to use while loading files.

Setting the priority while object is loading will reprioritize the ongoing load as soon as possible. The default IO priority is the g:+priority-default+ value, which is higher than the GTK redraw priority. If you are loading a lot of directories in parallel, lowering it to something like the g:+priority-default-idle+ value may increase responsiveness.
 

See also

2025-08-05