[ltk-user] Question about scrolled-text widget

Cunningham, Jeff jeffrey.k.cunningham at boeing.com
Fri Aug 17 16:25:52 UTC 2007


Peter Herth wrote:
> Hi Jeff,
>
> the problem lies in the fact that the scrolled-text is only a
> container around the contained textbox widget. So for configuration,
> you need to configure that widget rather than the scrolled-textbox.
> You can access it via its textbox slot. So I would write something like:
> (let* ((textframe (make-instance 'frame))
>     (textbox (make-instance 'scrolled-text :master textframe))
>     (text (textbox textbox)))
>
> (configure text :width 20 :height 30 :background :white)
>
> once you got the scrolled-text widget packet, you are really only
> interested in its contained textbox.
>
> HTH,
> Peter
> _______________________________________________
> ltk-user site list
> ltk-user at common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
>   
That solved that problem. Thank you.

What is the format for specifying position with the SEE function? I've tried

 (see textbox '(0 0)) as the only obvious thing I could think of, but it 
doesn't like that.

--Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ltk-user/attachments/20070817/2e8a27cc/attachment.html>


More information about the ltk-user mailing list