Lisp HUG Maillist Archive

CAPI:LIST-VIEW or CAPI:MULTI-COLUMN-LIST-PANE under LWM

Hi

I have the following code in an interface I have. The code works on LWW 
and LWL . However, it does not seem to work under LWM.  CAPI:LIST-VIEW 
seems undefined and CAPI:MULTI-COLUMN-LIST-PANE seems incorrect.


  #+(or win32 mac)
    (bta-cl-rl-tabl-trace-details-pane
     capi:list-view
     :reader interface-traces-detail-pane
     :horizontal-scroll t
     ;; :font (gp:make-font-description :family "Lucida Console" :size 8)
     :interaction :no-selection
     :view :report
     :columns '((:title "Variable Name" :align :left)
                (:title "Max Value" :align :right)
                (:title "Min Value" :align :right)
                (:title "Max Derivative" :align :right)
                (:title "Min Derivative" :align :right))
     :print-function (lambda (item) (symbol-name (first item)))
     :subitem-function #'rest
     )

    #-(or win32 mac)
    (bta-cl-rl-tabl-trace-details-pane
     capi:multi-column-list-panel
     :reader interface-traces-detail-pane
     :horizontal-scroll t
     ;; :font (gp:make-font-description :family "Lucida Console" :size 8)
     :interaction :no-selection
     ;; :view :report
     :columns '((:title "Variable Name" :align :left)
                (:title "Max Value" :align :right)
                (:title "Min Value" :align :right)
                (:title "Max Derivative" :align :right)
                (:title "Min Derivative" :align :right))
     :print-function (lambda (item) (symbol-name (first item)))
     :subitem-function #'rest
     )


--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Re: CAPI:LIST-VIEW or CAPI:MULTI-COLUMN-LIST-PANE under LWM

Unable to parse email body. Email id is 1235

Re: CAPI:LIST-VIEW or CAPI:MULTI-COLUMN-LIST-PANE under LWM

Ok  Thanks.

Marco

On Wednesday, Jul 30, 2003, at 07:51 America/New_York, David Fox wrote:

>
> [restored address lisp-hug@analys.com  - i guess you BCC'd it]
>
>
>    I have the following code in an interface I have. The code works on 
> LWW
>    and LWL . However, it does not seem to work under LWM.  
> CAPI:LIST-VIEW
>    seems undefined
>
> As the CAPI Reference Manual says:
> Note: list-view is implemented only in LispWorks for Windows.
>
>
>                    and CAPI:MULTI-COLUMN-LIST-PANE seems incorrect.
>
> Your code below does not reference CAPI:MULTI-COLUMN-LIST-PANEL on
> mac. How are you using this class on the mac and what is incorrect?
>
> Known issues for CAPI:MULTI-COLUMN-LIST-PANEL on this platform are
> that :ADJUST does not work in the column specification (we have not
> implemented it yet in Cocoa though it should be possible) and that
> sorting by clicking on the column titles does not work (this is
> mentioned in the release notes).
>
>
>      #+(or win32 mac)
>        (bta-cl-rl-tabl-trace-details-pane
> 	capi:list-view
> 	:reader interface-traces-detail-pane
> 	:horizontal-scroll t
> 	;; :font (gp:make-font-description :family "Lucida Console" :size 8)
> 	:interaction :no-selection
> 	:view :report
> 	:columns '((:title "Variable Name" :align :left)
> 		   (:title "Max Value" :align :right)
> 		   (:title "Min Value" :align :right)
> 		   (:title "Max Derivative" :align :right)
> 		   (:title "Min Derivative" :align :right))
> 	:print-function (lambda (item) (symbol-name (first item)))
> 	:subitem-function #'rest
> 	)
>
>        #-(or win32 mac)
>        (bta-cl-rl-tabl-trace-details-pane
> 	capi:multi-column-list-panel
> 	:reader interface-traces-detail-pane
> 	:horizontal-scroll t
> 	;; :font (gp:make-font-description :family "Lucida Console" :size 8)
> 	:interaction :no-selection
> 	;; :view :report
> 	:columns '((:title "Variable Name" :align :left)
> 		   (:title "Max Value" :align :right)
> 		   (:title "Min Value" :align :right)
> 		   (:title "Max Derivative" :align :right)
> 		   (:title "Min Derivative" :align :right))
> 	:print-function (lambda (item) (symbol-name (first item)))
> 	:subitem-function #'rest
> 	)
>
> Dave Fox
> Xanalys
> Compass House
> Vision Park
> Chivers Way
> Histon
> Cambridge
> CB4 9AD
> England
>
> Email: davef@xanalys.com
> Tel:   +44 1223 253793
> Fax:   +44 1223 257812
> These opinions are not necessarily those of Xanalys.
>
--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Re: CAPI:LIST-VIEW or CAPI:MULTI-COLUMN-LIST-PANE under LWM

More testing on LWM.

The :selection-callback in the :header-args of a  
capi:multi-column-list-pane seems to be ignored altogether.  Is this  
right?

Cheers

marco


On Wednesday, Jul 30, 2003, at 12:34 America/New_York, Marco Antoniotti  
wrote:

> Ok  Thanks.
>
> Marco
>
> On Wednesday, Jul 30, 2003, at 07:51 America/New_York, David Fox wrote:
>
>>
>> [restored address lisp-hug@analys.com  - i guess you BCC'd it]
>>
>>
>>    I have the following code in an interface I have. The code works  
>> on LWW
>>    and LWL . However, it does not seem to work under LWM.   
>> CAPI:LIST-VIEW
>>    seems undefined
>>
>> As the CAPI Reference Manual says:
>> Note: list-view is implemented only in LispWorks for Windows.
>>
>>
>>                    and CAPI:MULTI-COLUMN-LIST-PANE seems incorrect.
>>
>> Your code below does not reference CAPI:MULTI-COLUMN-LIST-PANEL on
>> mac. How are you using this class on the mac and what is incorrect?
>>
>> Known issues for CAPI:MULTI-COLUMN-LIST-PANEL on this platform are
>> that :ADJUST does not work in the column specification (we have not
>> implemented it yet in Cocoa though it should be possible) and that
>> sorting by clicking on the column titles does not work (this is
>> mentioned in the release notes).
>>
>>
>>      #+(or win32 mac)
>>        (bta-cl-rl-tabl-trace-details-pane
>> 	capi:list-view
>> 	:reader interface-traces-detail-pane
>> 	:horizontal-scroll t
>> 	;; :font (gp:make-font-description :family "Lucida Console" :size 8)
>> 	:interaction :no-selection
>> 	:view :report
>> 	:columns '((:title "Variable Name" :align :left)
>> 		   (:title "Max Value" :align :right)
>> 		   (:title "Min Value" :align :right)
>> 		   (:title "Max Derivative" :align :right)
>> 		   (:title "Min Derivative" :align :right))
>> 	:print-function (lambda (item) (symbol-name (first item)))
>> 	:subitem-function #'rest
>> 	)
>>
>>        #-(or win32 mac)
>>        (bta-cl-rl-tabl-trace-details-pane
>> 	capi:multi-column-list-panel
>> 	:reader interface-traces-detail-pane
>> 	:horizontal-scroll t
>> 	;; :font (gp:make-font-description :family "Lucida Console" :size 8)
>> 	:interaction :no-selection
>> 	;; :view :report
>> 	:columns '((:title "Variable Name" :align :left)
>> 		   (:title "Max Value" :align :right)
>> 		   (:title "Min Value" :align :right)
>> 		   (:title "Max Derivative" :align :right)
>> 		   (:title "Min Derivative" :align :right))
>> 	:print-function (lambda (item) (symbol-name (first item)))
>> 	:subitem-function #'rest
>> 	)
>>
>> Dave Fox
>> Xanalys
>> Compass House
>> Vision Park
>> Chivers Way
>> Histon
>> Cambridge
>> CB4 9AD
>> England
>>
>> Email: davef@xanalys.com
>> Tel:   +44 1223 253793
>> Fax:   +44 1223 257812
>> These opinions are not necessarily those of Xanalys.
>>
> --
> Marco Antoniotti
> NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
> 715 Broadway 10th FL				fax. +1 - 212 - 998 3484
> New York, NY, 10003, U.S.A.
>
>
> _______________________________________________________________________ 
> _
> This email has been scanned for all viruses by the MessageLabs Email
> Security System. For more information on a proactive email security
> service working around the clock, around the globe, visit
> http://www.messagelabs.com
> _______________________________________________________________________ 
> _
>
--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Re: CAPI:LIST-VIEW or CAPI:MULTI-COLUMN-LIST-PANE under LWM

Unable to parse email body. Email id is 1251

Updated at: 2020-12-10 08:59 UTC