I have custom widgets that access data in their parents, and the accessor functions are const because they don’t write anything. You’re right, I don’t get const Widget* from Rack directly anywhere.
I withdraw this request.
After thrashing with a design that attempted to find widgets with the parent/child tree, I settled on direct pointers which made my code much simpler, measurably faster, and more reliable.
Sorry for the noise.