NativeWindowHandle

from acron.core import NativeWindowHandle
class NativeWindowHandle

Bases:

Bases: WindowHandle

This subclass of WindowHandle exists to allow simple creation of a WindowHandle of the appropriate type to the current OS.

This class exists for name scoping only. Don’t use the constructor directly; use one of the make_* methods.

Inheritance diagram

digraph inheritance15117802a7 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "NativeWindowHandle" [URL="acron.core.NativeWindowHandle.html#acron.core.NativeWindowHandle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "WindowHandle" -> "NativeWindowHandle" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "WindowHandle" [URL="acron.core.WindowHandle.html#acron.core.WindowHandle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "WindowHandle" [arrowsize=0.75,style=""]; }
static get_class_type()
static make_int()

Constructs a new WindowHandle with an int value, which is understood to be either an HWND or a Window, cast to int. 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.

static make_subprocess()

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

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