stklos bug?

From: Andrew Dorrell <andrewd_at_eng.uts.edu.au>
Date: Fri, 19 Sep 1997 10:03:13 +1000 (EST)

Hi,

I my recent toying with the canvas widget I have noticed the following
unusual behaviour which I believe to be a bug: The scroll-region in a
canvas is a list coordinates. Using STklos you can set it using:

(set! (scroll-region my-canvas) '(0 0 100 100)) ; For example

But when you read it you get back the string

(scroll-region my-canvas) ==> " 0 0 100 100 "

Perhaps the leading space is fooling the Tk/scheme interface? I have
found this behaviour in both 3.0 and 3.1 (linux gcc - though I don't
believe this is really relevant here)

Regards,
-- 
------------------------------------------------------------------------------
Mr Andrew Dorrell
School of Electrical Engineering                 *
University of Technology, Sydney                     *
PO Box 123                                     *
Broadway NSW 2007                                   .  
AUSTRALIA
                                                    *       /---\  Whoo?
Phone:   61 2 330 2395                                      (o o) /
Fax:     61 2 330 2435                                      ( : )  
email:   andrewd_at_ee.uts.edu.au                               ^ ^     
    OR   dorrell_at_ihf.uts.edu.au
------------------------------------------------------------------------------
Received on Fri Sep 19 1997 - 02:01:10 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST