1Tk_MapWindow(3)              Tk Library Procedures             Tk_MapWindow(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tk_MapWindow, Tk_UnmapWindow - map or unmap a window
9

SYNOPSIS

11       #include <tk.h>
12
13       Tk_Window
14       Tk_MapWindow(tkwin)
15
16       Tk_UnmapWindow(tkwin)
17

ARGUMENTS

19       Tk_Window tkwin (in)           Token for window.
20______________________________________________________________________________
21

DESCRIPTION

23       These  procedures  may  be used to map and unmap windows managed by Tk.
24       Tk_MapWindow maps the window given by tkwin, and also creates an X win‐
25       dow  corresponding  to  tkwin  if  it  does not already exist.  See the
26       Tk_CreateWindow manual entry for information on  deferred  window  cre‐
27       ation.  Tk_UnmapWindow unmaps tkwin's window from the screen.
28
29       If  tkwin  is a child window (i.e. Tk_CreateWindow was used to create a
30       child window), then event handlers interested in map and  unmap  events
31       are  invoked immediately.  If tkwin is not an internal window, then the
32       event handlers will be invoked later, after X has seen the request  and
33       returned an event for it.
34
35       These procedures should be used in place of the X procedures XMapWindow
36       and XUnmapWindow, since they  update  Tk's  local  data  structure  for
37       tkwin.   Applications using Tk should not invoke XMapWindow and XUnmap‐
38       Window directly.
39

KEYWORDS

41       map, unmap, window
42
43
44
45Tk                                                             Tk_MapWindow(3)
Impressum