Package: gio
VTable gio:list-model-vtable
Declaration(gobject:define-vtable ("GListModel" list-model) (:skip parent-instance (:struct gobject:type-interface)) ;; Methods of the GListModel interface (get-item-type ; virtual function (gobject:type-t ; return type (model (gobject:object list-model)))) ; argument (get-n-items (:uint (model (gobject:object list-model)))) (get-item (gobject:object (model (gobject:object list-model)) (pos :uint)))) Values
Details The virtual function table for the g:list-model interface. Examples;; Simple implementation which uses a Lisp list (gobject:define-gobject-subclass "CLListStore" cl-list-store (:superclass g:object :export t :interfaces ("GListModel")) ((:cl list :initform '() :accessor cl-list-store-list))) | See also |
2025-3-24