Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Use the event name of the TIP: NoManagedChild |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tip518-event-last-child-unmanaged |
Files: | files | file ages | folders |
SHA3-256: |
ae8359e4f0f257e94b517ad915b40b29 |
User & Date: | oehhar 2018-09-22 20:31:07 |
Context
2018-09-23
| ||
08:22 | Merge trunk check-in: 1ab46e2b user: oehhar tags: tip518-event-last-child-unmanaged | |
2018-09-22
| ||
20:31 | Use the event name of the TIP: NoManagedChild check-in: ae8359e4 user: oehhar tags: tip518-event-last-child-unmanaged | |
19:10 | Update to implement TIP518 event name change check-in: 23815eb1 user: oehhar tags: tip518-event-last-child-unmanaged | |
Changes
Changes to generic/tkGrid.c.
︙ | ︙ | |||
1731 1732 1733 1734 1735 1736 1737 | masterPtr->flags &= ~REQUESTED_RELAYOUT; /* * If the master has no slaves anymore, then don't change the master size. * Otherwise there is no way to "relinquish" control over the master * so another geometry manager can take over. | | | | 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 | masterPtr->flags &= ~REQUESTED_RELAYOUT; /* * If the master has no slaves anymore, then don't change the master size. * Otherwise there is no way to "relinquish" control over the master * so another geometry manager can take over. * Send event to "NoManagedChild" to inform about no managed grid but * not resized. */ if (masterPtr->slavePtr == NULL) { TkSendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); return; } if (masterPtr->masterDataPtr == NULL) { return; } |
︙ | ︙ |
Changes to generic/tkPack.c.
︙ | ︙ | |||
598 599 600 601 602 603 604 | masterPtr->flags &= ~REQUESTED_REPACK; /* * If the master has no slaves anymore, then leave the master's size as-is. * Otherwise there is no way to "relinquish" control over the master * so another geometry manager can take over. | | | | 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 | masterPtr->flags &= ~REQUESTED_REPACK; /* * If the master has no slaves anymore, then leave the master's size as-is. * Otherwise there is no way to "relinquish" control over the master * so another geometry manager can take over. * Send event to "NoManagedChild" to inform about no managed grid but * not resized. */ if (masterPtr->slavePtr == NULL) { TkSendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); return; } /* * Abort any nested call to ArrangePacking for this window, since we'll do * everything necessary here, and set up so this call can be aborted if * necessary. |
︙ | ︙ |