Tk_MapWindow - map or unmap a window
#include <tk.h> Tk_Window Tk_MapWindow(tkwin) Tk_UnmapWindow(tkwin)
Tk_MapWindow(3tk) Tk Library Procedures Tk_MapWindow(3tk)
______________________________________________________________________________
NAME
Tk_MapWindow, Tk_UnmapWindow - map or unmap a window
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_MapWindow(tkwin)
Tk_UnmapWindow(tkwin)
ARGUMENTS
Tk_Window tkwin (in) Token for window.
______________________________________________________________________________
DESCRIPTION
These procedures may be used to map and unmap windows managed by Tk.
Tk_MapWindow maps the window given by tkwin, and also creates an X win-
dow corresponding to tkwin if it does not already exist. See the
Tk_CreateWindow manual entry for information on deferred window cre-
ation. Tk_UnmapWindow unmaps tkwin's window from the screen.
If tkwin is a child window (i.e. Tk_CreateWindow was used to create a
child window), then event handlers interested in map and unmap events
are invoked immediately. If tkwin is not an internal window, then the
event handlers will be invoked later, after X has seen the request and
returned an event for it.
These procedures should be used in place of the X procedures XMapWindow
and XUnmapWindow, since they update Tk's local data structure for
tkwin. Applications using Tk should not invoke XMapWindow and XUnmap-
Window directly.
KEYWORDS
map, unmap, window
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------+
|Availability | runtime/tk-8 |
+---------------+------------------+
|Stability | Uncommitted |
+---------------+------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://source-
forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.
Further information about this software can be found on the open source
community website at https://www.tcl.tk/.
Tk Tk_MapWindow(3tk)