MapWindow.3
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:2k
- '"
- '" Copyright (c) 1990 The Regents of the University of California.
- '" Copyright (c) 1994-1997 Sun Microsystems, Inc.
- '"
- '" See the file "license.terms" for information on usage and redistribution
- '" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- '"
- '" RCS: @(#) $Id: MapWindow.3,v 1.4 1999/04/21 21:53:22 rjohnson Exp $
- '"
- .so man.macros
- .TH Tk_MapWindow 3 "" Tk "Tk Library Procedures"
- .BS
- .SH NAME
- Tk_MapWindow, Tk_UnmapWindow - map or unmap a window
- .SH SYNOPSIS
- .nf
- fB#include <tk.h>fR
- .sp
- Tk_Window
- fBTk_MapWindowfR(fItkwinfR)
- .sp
- fBTk_UnmapWindowfR(fItkwinfR)
- .SH ARGUMENTS
- .AS Tk_Window parent
- .AP Tk_Window tkwin in
- Token for window.
- .BE
- .SH DESCRIPTION
- .PP
- These procedures may be used to map and unmap windows
- managed by Tk. fBTk_MapWindowfR maps the window given
- by fItkwinfR, and also creates an X window corresponding
- to fItkwinfR if it doesn't already exist. See the
- fBTk_CreateWindowfR manual entry for information on
- deferred window creation.
- fBTk_UnmapWindowfR unmaps fItkwinfR's window
- from the screen.
- .PP
- If fItkwinfR is a child window (i.e. fBTk_CreateWindowfR was
- used to create a child window), then event handlers interested in map
- and unmap events are invoked immediately. If fItkwinfR isn't an
- internal window, then the event handlers will be invoked later, after
- X has seen the request and returned an event for it.
- .PP
- These procedures should be used in place of the X procedures
- fBXMapWindowfR and fBXUnmapWindowfR, since they update
- Tk's local data structure for fItkwinfR. Applications
- using Tk should not invoke fBXMapWindowfR and fBXUnmapWindowfR
- directly.
- .SH KEYWORDS
- map, unmap, window