我将 LTK 用于 Common Lisp 中的基本窗口。我想创建一个方形按钮,但事实证明高度无法更改。这是代码的相关部分:
(let ((tile (make-instance 'button
:width 20
:height 20))))
我收到一个错误:
Invalid initialization argument:
:HEIGHT
in call for class #<STANDARD-CLASS LTK:BUTTON>.
See also:
The ANSI Standard, Section 7.1.2
[Condition of type INITARG-ERROR]
在LTK 文档中,高度被列为可配置按钮。安装有问题还是已知错误或什么?