| 1 |
# Copyright (c) 1995-1996 Sun Microsystems, Inc. |
| 2 |
# See the file "license.terms" for information on usage and redistribution |
| 3 |
# of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| 4 |
# |
| 5 |
# |
| 6 |
|
| 7 |
=head1 NAME |
| 8 |
|
| 9 |
Tk_StrictMotif - Return value of tk_strictMotif variable |
| 10 |
|
| 11 |
=for category C Programming |
| 12 |
|
| 13 |
=head1 SYNOPSIS |
| 14 |
|
| 15 |
B<#include E<lt>tk.hE<gt>> |
| 16 |
|
| 17 |
int |
| 18 |
B<Tk_StrictMotif>(I<tkwin>) |
| 19 |
|
| 20 |
=head1 ARGUMENTS |
| 21 |
|
| 22 |
=over 4 |
| 23 |
|
| 24 |
=item Tk_Window tkwin (in) |
| 25 |
|
| 26 |
Token for window. |
| 27 |
|
| 28 |
=back |
| 29 |
|
| 30 |
=head1 DESCRIPTION |
| 31 |
|
| 32 |
This procedure returns the current value of the B<tk_strictMotif> |
| 33 |
variable in the interpreter associated with I<tkwin>'s application. |
| 34 |
The value is returned as an integer that is either 0 or 1. |
| 35 |
1 means that strict Motif compliance has been requested, so anything |
| 36 |
that is not part of the Motif specification should be avoided. |
| 37 |
0 means that ``Motif-like'' is good enough, and extra features |
| 38 |
are welcome. |
| 39 |
|
| 40 |
This procedure uses a link to the Tcl variable to provide much |
| 41 |
faster access to the variable's value than could be had by calling |
| 42 |
B<Tcl_GetVar>. |
| 43 |
|
| 44 |
=head1 KEYWORDS |
| 45 |
|
| 46 |
Motif compliance, tk_strictMotif variable |