Hello!
Thank you for sharing this code, it works well and it is very simple to use!
I am using ltk 0.91 and i am having trouble with the menucheckbutton, as far as i can understand this class does not specialize the (setf command) method so the only way to set a command for this widget is using the :initarg when the object is created, the problem is that this way the value of the button seems not to be passed to the function, this behaviour is different fron check-button widget that instead works as documentation specified.
as far as i can see
this code:
(make-instance 'menucheckbutton :text "A" :command #'(lambda (x) (print x)) :name "mmodify" :master mmodify)
is able to produce this tcl/tk code:
'path of the widget' add checkbutton -label {A} -variable mmodify -command {callback mmodify}
So seems to me that the variable 'mmodify' have got the state of the button but i can not figure out how can i get its value from lisp code.
My second question is: is there a public repository for the library?
Thank you again.
Bye. C.
Hi,
it seems indeed as there is something missing with the menucheckbutton support. I will have to look into it in the next days, should not take too much work to fix. To answer your second question: yes the ltk repository is world-readable, you can find the latest version on http://ltk.rplay.net/svn/trunk/ltk/
Regards, Peter
On Sun, Jan 16, 2011 at 03:44:01PM +0100, Peter Herth wrote:
Hi,
it seems indeed as there is something missing with the menucheckbutton support. I will have to look into it in the next days, should not take too much work to fix.
Thank you Peter for your quick reply! I am looking forward for the fix! :)
I am sorry that i can not help you very much as my knowlege of tcl/tk is limited to what i have learnt while using ltk! :)
To answer your second question: yes the ltk repository is world-readable, you can find the latest version on http://ltk.rplay.net/svn/trunk/ltk/
I have made a quick check, there are some interesting news! Is there any plan/roadmap to make a public release?
Bye. C.
Hi,
On Sun, Jan 16, 2011 at 7:05 PM, cage cage@katamail.com wrote:
I have made a quick check, there are some interesting news! Is there any plan/roadmap to make a public release?
Plan: yes, roadmap: as soon as I get around to finish the last touches :)
Peter
On Tue, Jan 18, 2011 at 08:42:07PM +0100, Peter Herth wrote:
Hi,
On Sun, Jan 16, 2011 at 7:05 PM, cage cage@katamail.com wrote:
I have made a quick check, there are some interesting news! Is there any plan/roadmap to make a public release?
Plan: yes, roadmap: as soon as I get around to finish the last touches :)
Great! It's the same roadmap i have for my software! :)
Bye! C.