Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Tk_GetHWND (3tk)

Name

Tk_GetHWND - manage interactions between the Windows handle and an X window

Synopsis

#include <tkPlatDecls.h>

HWND
Tk_GetHWND(window)

Window
Tk_AttachHWND(tkwin, hwnd)

Description

HWND(3tk)                    Tk Library Procedures                   HWND(3tk)



______________________________________________________________________________

NAME
       Tk_GetHWND,  Tk_AttachHWND  -  manage  interactions between the Windows
       handle and an X window

SYNOPSIS
       #include <tkPlatDecls.h>

       HWND
       Tk_GetHWND(window)

       Window
       Tk_AttachHWND(tkwin, hwnd)

ARGUMENTS
       Window window (in)                        X token for window.

       Tk_Window tkwin (in)                      Tk window for window.

       HWND hwnd (in)                            Windows HWND for window.
______________________________________________________________________________

DESCRIPTION
       Tk_GetHWND returns the Windows HWND identifier  for  X  Windows  window
       given by window.

       Tk_AttachHWND  binds  the  Windows  HWND  identifier  to  the specified
       Tk_Window given by tkwin. It returns an X Windows window that  encapsu-
       lates the HWND.

KEYWORDS
       identifier, window



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                                    8.0                            HWND(3tk)