Panda3D
Functions
nativeWindowHandle.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "nativeWindowHandle.h"

Go to the source code of this file.

Functions

 PT (WindowHandle) NativeWindowHandle
 Constructs a new WindowHandle with an int value, which is understood to be either an HWND or a Window, cast to int. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2009-09-30

Definition in file nativeWindowHandle.cxx.

Function Documentation

◆ PT()

PT ( WindowHandle  )

Constructs a new WindowHandle with an int value, which is understood to be either an HWND or a Window, cast to int.

Constructs a new WindowHandle that references a SubprocessWindowBuffer read in another process, with the named pipe filename that it uses for communication.

This method exists for the convenience of Python, which likes to deal with ints; C++ code should use one of the more specific make_x11() or make_win32() methods instead.

This is (at present, and maybe always) useful only on the OS X platform, where parenting child windows is particularly problematic.

Definition at line 35 of file nativeWindowHandle.cxx.