Thank you Peter!
That's exactly what I was looking for!
When I finish the client I'll surely notify the list.
Thank you again for your help and for the great GUI library!
Cheers!
André

On Fri, Sep 2, 2011 at 12:11 PM, Peter Herth <herth@peter-herth.de> wrote:
Hi Andre,

the direct counterpart to configure is cget which can be used to query
properties. In your case however, I guess you want to catch the
resizing of a canvas widget. To do that, bind the <configure> event
like:
(bind canvas "<Configure>" (lambda (event)
        (format t "I am ~a wide and ~a high~%" (event-width event)
(event-height event)))
If you decide to publish your client, please notify the list, as its
great to know when someone writes an LTk based application :)

Peter


On Thu, Sep 1, 2011 at 4:34 AM, Andre RsFiveTwo <rs.andre@gmail.com> wrote:
> Hi,
> I'm starting to use the ltk library to build a twitter client and I'm liking
> it a lot.
> I'm having trouble trying to read the properties of widgets.
> I know for to set them, using configure, but I can't read them back.
> More specifically, I'm trying to read the width and height of a canvas.
> Any help would be appreciated.
> Thanks,
> André
>
> _______________________________________________
> ltk-user site list
> ltk-user@common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
>

_______________________________________________
ltk-user site list
ltk-user@common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user



--
[]'s,
André