Re: tree-view redisplay
----- Forwarded by Raymond C Laning/RWS/Raytheon/US on 12/08/2003 10:02 AM
-----
Raymond C Laning
To: Peter Denno <peter.denno@nist.gov>
12/08/2003 09:55 cc:
AM Subject: Re: tree-view redisplay(Document link: Raymond C Laning)
Hello Peter,
assuming gpane is the graphics-pane containing your tree-view, try:
(capi::build-graph (capi::graph-pane-layout gpane)
(capi::force-redisplay gpane)
for ease of use in getting my hands on the graphics pane in my interface, I
add an :accessor name in my interface definition
(capi:define-interface graph-it ()
....
(:layouts
(grapher capi:graph-pane
:accessor grapher
...
)))
then you can use (grapher intf) to easily access the tree view.
HTH,
Raymond Laning
Peter Denno
<peter.denno@nis To: lisp-hug@xanalys.com
t.gov> cc:
Sent by: Subject: tree-view redisplay
owner-lisp-hug@x
analys.com
12/08/2003 09:26
AM
Please respond
to Peter Denno
Hi,
I am trying to redisplay a tree-view after setting a value that should
change how deep it expands the tree.
I have tried capi:redisplay-collection-item. It doesn't seem to do
anything,
and furthermore, I don't have the tree-view (collection object) handy when
the callback adjusting the expand depth is executed. I have tried
capi:redisplay-interface. It doesn't seem to do anything either.
I must be missing something simple, but looking for examples in some code I
had written a few years ago, I see that I couldn't do it then either!
--
Best Regards,
- Peter
Peter Denno
National Institute of Standards and Technology,
Manufacturing System Integration Division,
100 Bureau Drive, Mail Stop 8264 Tel: +1 301-975-3595
Gaithersburg, MD, USA 20899-8264 FAX: +1 301-975-4694