sigma
1
I’m developing a custom container.
The child used for testing is a 2x2 grid with four buttons.
Each button changes the grid size with set_size_request.
What’s the canonical way for a container to be notified about its child’s change of size?
I’m using the child’s signal_size_allocate but it seems it’s only called when the size grows.
sigma
2
UPDATE:
signal_size_allocate is called when the size shrinks or grows, but when the child gets larger than the container, it’s not called anymore.
sigma
3
I restructured the layout method and the issue seems to be gone.
system
(system)
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.