hi Mathieu, Ben,
I think, Ben aims at writing his own getrectfn for a Pd class which talks to a Tk widget -- which is easy to find in (and clone from) the toxy/widget source, btw.
Krzysztof
Mathieu Bouchard wrote: ...
Hi. In the current GUI, widget size is handled by the server, as is pretty much anything GUI-related. So pretty much any info you want on widgets can be accessed through C structs and such. Especially, if you need boundingbox info, there's a getrectfn() method in the t_widgetbehavior interface.