I want to control on and off ob check-button.
Jason Miller
jason at milr.com
Fri Jun 1 18:03:07 UTC 2018
On Wed, 30 May 2018 07:11:33 +0900, Kamuy Cikap <kamuycikap2016 at gmail.com> wrote:
> Hi every one.
>
> I want to control on and off of check-button by clicking the button.
> but I can't it.
>
> how do control it?
>
..snip
> (cbtn1 (make-instance
> 'check-button
> :text "check button1"
> :variable :cbtn1_val
LTK assumes that you do not change the :variable parameter, so this will
prevent SETF from working. You can either directly set the global variable you
have specified, or just use the default value for :variable.
More information about the ltk-user
mailing list