Hi all:
Another Celtk challenge for me:
The slot CTK::PACKING is missing from the object SENDREQUEST-PUBLISH-RB-GROUP of class #<STANDARD-CLASS CTK::MENU-RADIO-GROUP> during operation SLOT-VALUE [Condition of type PROGRAM-ERROR]
is resulting from this piece of code:
(mk-row () (mk-stack () (mk-menu-radio-group :id :sendrequest-publish-rb-group :selection (c-in nil) :kids (c? (the-kids (mk-menu-entry-radiobutton :label "Request/Reply" :value :request/reply) (mk-menu-entry-radiobutton :label "Publish" :value :publish) )))) (mk-stack () (mk-row () (mk-label :text "Timeout: " :width 10) (mk-entry :id :timeout-entry :width 6) (mk-label :text "s")))
menu-radio-group inherits from menu-entry which inherits from tk-object.
I can't locate the source of this error ...
Thanks for any hints!
Best, Frank
Frank Goenninger wrote:
Hi all:
Another Celtk challenge for me:
The slot CTK::PACKING is missing from the object SENDREQUEST-PUBLISH-RB-GROUP of class #<STANDARD-CLASS CTK::MENU-RADIO-GROUP> during operation SLOT-VALUE [Condition of type PROGRAM-ERROR]
is resulting from this piece of code:
(mk-row () (mk-stack () (mk-menu-radio-group
Oops. If you look at all the examples of menu-radio-group and/or meditate on the prefix "menu-", you will see that that bad boy belongs only in menus (where packing does not apply).
Were you just trying to make an always-visible radio group? Was there an example in lotsa-widgets? A quick scan of the hierarchy suggests you just want a subclass of frame-selector, either frame-stack or frame-row. Either one will give radio buttons a parent selector that will effectively manage them. If I am lucky. :) If not I'll dig deeper.
ken