Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Tk_StrictMotif (3tk)

Name

Tk_StrictMotif - Return value of tk_strictMotif variable

Synopsis

#include <tk.h>

int
Tk_StrictMotif(tkwin)

Description

Tk_StrictMotif(3tk)          Tk Library Procedures         Tk_StrictMotif(3tk)



______________________________________________________________________________

NAME
       Tk_StrictMotif - Return value of tk_strictMotif variable

SYNOPSIS
       #include <tk.h>

       int
       Tk_StrictMotif(tkwin)

ARGUMENTS
       Tk_Window tkwin (in)          Token for window.
______________________________________________________________________________

DESCRIPTION
       This procedure returns the current value of the tk_strictMotif variable
       in the interpreter associated with tkwin's application.  The  value  is
       returned  as  an  integer  that  is either 0 or 1.  1 means that strict
       Motif compliance has been requested, so anything that is  not  part  of
       the  Motif  specification should be avoided.  0 means that "Motif-like"
       is good enough, and extra features are welcome.

       This procedure uses a link to the Tcl variable to provide  much  faster
       access to the variable's value than could be had by calling Tcl_GetVar.

KEYWORDS
       Motif compliance, tk_strictMotif variable



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.



Tk                                    4.0                  Tk_StrictMotif(3tk)