Open vindarel opened 5 years ago
I got my simple example, but my question about the official doc still holds.
(with-nodgui ()
(let ((tree (make-instance 'scrolled-treeview
;; a treeview always has a first column.
:columns (list "col2"))))
;; We place our widget on the grid to see it.
(grid tree 1 0)
(loop for data in '("aaa" "bbb" "ccc")
do (treeview-insert-item tree
;; text of the first column.
:text data
;; text of the other columns.
:column-values (list "val2")))))
Hi,
If I'm not mistaken, there is no documentation of
treeview
on the website: http://www.peter-herth.de/ltk/ nor in the pdf.I was able to create a simple treeview with text, with
make-instance 'treeview
andtreeview-insert
:now I am interested in creating a treeview with columns. How do we do it ? There is
column-configure
,treeview-column
. I am also looking at this doc: https://tkdocs.com/tutorial/tree.htmlThanks
ps: otherwise the doc is very good, thanks :)