[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TreeView selection?

From: Neil Jerram
Subject: TreeView selection?
Date: Thu, 27 Apr 2006 20:17:28 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

How can I find out which row of a TreeView is selected?

So far I have this:

  (lambda ()
    (get-selected (get-selection treeview)))
  (lambda (model iter)

... which produces:

#<gvalue <gtk-tree-iter> 405fa068>

I then tried adding a gvalue->scm call, to convert this gvalue to what
I hoped would be the row value, but it appeared to have no effect.
(In other words, the return value of the gvalue->scm call was still a
<gvalue ...>.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]