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 with the IO priority to use

Details

Accessor of the io-priority slot of the gtk:directory-list class. The gtk:directory-list-io-priority function gets the IO priority. The (setf gtk:directory-list-io-priority) function 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

2024-12-15