common lisp - Acessing values of ltk widget options -
i trying make gui application in common lisp ltk, , there 1 thing cannot figure out. know can set options of ltk widgets configure, cannot figure out way read values.
for example, create instance of canvas
(make-instance 'canvas :width 400 :height 400) then want write method use width , height in calculations. how access these?
i've asked same question in ltk user list , got answer.
in short, cget function counterpart of configure
so, set canvas width (configure canvas :witdh value) , retrieve (cget canvas :width).
regards,
andré
Comments
Post a Comment