OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tk/] [doc/] [MapWindow.3] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1990 The Regents of the University of California.
3
'\" Copyright (c) 1994-1997 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: MapWindow.3,v 1.1.1.1 2002-01-16 10:25:48 markom Exp $
9
'\"
10
.so man.macros
11
.TH Tk_MapWindow 3 "" Tk "Tk Library Procedures"
12
.BS
13
.SH NAME
14
Tk_MapWindow, Tk_UnmapWindow \- map or unmap a window
15
.SH SYNOPSIS
16
.nf
17
\fB#include \fR
18
.sp
19
Tk_Window
20
\fBTk_MapWindow\fR(\fItkwin\fR)
21
.sp
22
\fBTk_UnmapWindow\fR(\fItkwin\fR)
23
.SH ARGUMENTS
24
.AS Tk_Window parent
25
.AP Tk_Window tkwin in
26
Token for window.
27
.BE
28
 
29
.SH DESCRIPTION
30
.PP
31
These procedures may be used to map and unmap windows
32
managed by Tk.  \fBTk_MapWindow\fR maps the window given
33
by \fItkwin\fR, and also creates an X window corresponding
34
to \fItkwin\fR if it doesn't already exist.  See the
35
\fBTk_CreateWindow\fR manual entry for information on
36
deferred window creation.
37
\fBTk_UnmapWindow\fR unmaps \fItkwin\fR's window
38
from the screen.
39
.PP
40
If \fItkwin\fR is a child window (i.e. \fBTk_CreateChildWindow\fR was
41
used to create it), then event handlers interested in map and unmap events
42
are invoked immediately.  If \fItkwin\fR isn't an internal window,
43
then the event handlers will be invoked later, after X has seen
44
the request and returned an event for it.
45
.PP
46
These procedures should be used in place of the X procedures
47
\fBXMapWindow\fR and \fBXUnmapWindow\fR, since they update
48
Tk's local data structure for \fItkwin\fR.  Applications
49
using Tk should not invoke \fBXMapWindow\fR and \fBXUnmapWindow\fR
50
directly.
51
 
52
.SH KEYWORDS
53
map, unmap, window

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.