[cells-devel] Celtk: mk-entry: How to set initial value?
Frank Goenninger
frgo at mac.com
Thu Nov 22 11:56:51 UTC 2007
Hi Kenny, hi all (would be interesting to see who actually monitors
this ?)
I have an entry widget like this:
(mk-entry :id :callsign-entry
:value (c?n (let ((pm (selected-pm (fm^ :pmutil-gui))))
(if pm
(callsign pm))))
:enabled (c? (pm-selected-p (fm^ :pmutil-gui)))
:width 17
:tk-justify 'left
:relief 'sunken
:borderwidth 1
:parent-x 424
:parent-y 321
:background (c_? (required-field-color .parent))
:tile? nil)
Intention is to be able to set the value initially and afterwards
have the rule kick-in and setting the value automagically. Alas,
neither the initial setting of the value really works nor does the
cell rule fire ...
Are the rules off here or is it just another point where a tiny
little code fragment is missing in Celtk that drives the entry widget?
Any pointers really appreciated!
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cells-devel/attachments/20071122/52854e77/attachment.sig>
More information about the cells-devel
mailing list