Package: gtk
Class gtk:directory-list
Superclassesgio:list-model, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:directory-list class is a list model that wraps the requested information from the g_file_enumerate_children_async()
function. It presents a g:list-model object and fills it asynchronously with the g:file-info objects returned from that function. Enumeration will start automatically when the file property is set. While the gtk:directory-list object is being filled, the loading property will be set to true. You can listen to that property if you want to show information like a gtk:spinner widget or a "Loading..." text. If loading fails at any point, the error property will be set to give more indication about the failure. The g:file-info objects returned from a gtk:directory-list object have the "standard::file" attribute set to the g:file object they refer to. This way you can get the file that is referred to in the same way you would via the g_file_enumerator_child() function. This means you do not need access to the gtk:directory-list object but can access the g:file object directly from the g:file-info object when operating with a gtk:list-view widget or similar. | Inherited Slot Access FunctionsSee also |
2024-12-15