OSDN Git Service

Initial revision
[pf3gnuchains/pf3gnuchains4x.git] / tk / doc / StrictMotif.3
1 '\"
2 '\" Copyright (c) 1995-1996 Sun Microsystems, Inc.
3 '\"
4 '\" See the file "license.terms" for information on usage and redistribution
5 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6 '\" 
7 '\" RCS: @(#) $Id$
8 '\" 
9 .so man.macros
10 .TH Tk_StrictMotif 3 4.0 Tk "Tk Library Procedures"
11 .BS
12 .SH NAME
13 Tk_StrictMotif \- Return value of tk_strictMotif variable
14 .SH SYNOPSIS
15 .nf
16 \fB#include <tk.h>\fR
17 .sp
18 int
19 \fBTk_StrictMotif\fR(\fItkwin\fR)
20 .SH ARGUMENTS
21 .AS Tk_Window tkwin
22 .AP Tk_Window tkwin in
23 Token for window.
24 .BE
25
26 .SH DESCRIPTION
27 .PP
28 This procedure returns the current value of the \fBtk_strictMotif\fR
29 variable in the interpreter associated with \fItkwin\fR's application.
30 The value is returned as an integer that is either 0 or 1.
31 1 means that strict Motif compliance has been requested, so anything
32 that is not part of the Motif specification should be avoided.
33 0 means that ``Motif-like'' is good enough, and extra features
34 are welcome.
35 .PP
36 This procedure uses a link to the Tcl variable to provide much
37 faster access to the variable's value than could be had by calling
38 \fBTcl_GetVar\fR.
39
40 .SH KEYWORDS
41 Motif compliance, tk_strictMotif variable