Copyright (C) 2000-2012 |
Manpages Tk_ManageGeometrySection: Tk Library Procedures (3)Updated: 4.0 Index Return to Main Contents NAMETk_ManageGeometry - arrange to handle geometry requests for a windowSYNOPSIS#include <tk.h> Tk_ManageGeometry(tkwin, mgrPtr, clientData) ARGUMENTS
DESCRIPTIONTk_ManageGeometry arranges for a particular geometry manager, described by the mgrPtr argument, to control the geometry of a particular slave window, given by tkwin. If tkwin was previously managed by some other geometry manager, the previous manager loses control in favor of the new one. If mgrPtr is NULL, geometry management is cancelled for tkwin. The structure pointed to by mgrPtr contains information about the geometry manager:
requestProc is a procedure in the geometry manager that will be invoked whenever Tk_GeometryRequest is called by the slave to change its desired geometry. requestProc should have arguments and results that match the type Tk_GeomRequestProc:
The lostSlaveProc field of mgrPtr points to another procedure in the geometry manager. Tk will invoke lostSlaveProc if some other manager calls Tk_ManageGeometry to claim tkwin away from the current geometry manager. lostSlaveProc is not invoked if Tk_ManageGeometry is called with a NULL value for mgrPtr (presumably the current geometry manager has made this call, so it already knows that the window is no longer managed), nor is it called if mgrPtr is the same as the window's current geometry manager. lostSlaveProc should have arguments and results that match the following prototype:
KEYWORDScallback, geometry, managed, request, unmanaged
IndexThis document was created by man2html, using the manual pages. Time: 11:19:56 GMT, April 20, 2024 |