carta
Tk_UnmapWindow(3tk)

Tk_UnmapWindow3tk

Map or unmap a window

Part of Tk_MapWindow(3tk).

Usage

Tk_Window


    


    

Arguments

Tk_Window tkwin (in)

Token for window.


    


            

Overview

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 window corresponding to tkwin if it does not already exist. See the Tk_CreateWindow manual entry for information on deferred window creation. 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 XUnmapWindow directly.

Keywords

map, unmap, window

History

  • Debian 13 (Trixie) to Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze) to Debian 5.0 (Lenny)
  • Debian 4.0 (Etch) to Debian 3.1 (Sarge)
  • Debian 3.0 (Woody) to Debian 2.2 (Potato)
  • Debian 2.1 (Slink) to Debian 2.0 (Hamm)
  • Debian 1.3 (Bo) to Debian 1.1 (Buzz)

From tk8.6-doc 8.6.16-1 in Debian 13 (Trixie). Also shipped by tk9.0-doc. Parsed by carta from the page's man source.