Lisp HUG Maillist Archive

CAPI:CALCULATE-LAYOUT not called for PINBOARD-LAYOUT

Unable to parse email body. Email id is 3932

Re: CAPI:CALCULATE-LAYOUT not called for PINBOARD-LAYOUT

Hello Duncan,

| All,
|
| CAPI:CALCULATE-LAYOUT does not appear to be called for
| PINBOARD-LAYOUTs. Is that deliberate or a bug?

In my understanding, this is by design. For pinboard-layout, you should
specify the exact coordinates of every item object.

Though nothing prevent you from calling CAPI:CALCULATE-LAYOUT explicitly,
e.g. on displaying the interface the very first time:

  (unless (capi:layout-description layout)
      (setf (capi:layout-description layout) (list ...))
      (capi:calculate-layout layout 0 0 100 100))
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru


Re: CAPI:CALCULATE-LAYOUT not called for PINBOARD-LAYOUT

Unable to parse email body. Email id is 3957

Re: CAPI:CALCULATE-LAYOUT not called for PINBOARD-LAYOUT

Unable to parse email body. Email id is 3959

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