PySide6.QtGui.QNativeInterface¶
- class QNativeInterface¶
Added in version 6.7.
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- class QX11Application¶
Native interface to an X11 application.
Details
Accessed through
nativeInterface()
.Synopsis¶
Methods¶
def
__init__()
Virtual methods¶
def
connection()
def
display()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- abstract connection()¶
- Return type:
int
Returns the X connection of the application, for use with XCB.
See also
- abstract display()¶
- Return type:
int
Returns the X display of the application, for use with Xlib.
See also
- class QWaylandApplication¶
Native interface to a Wayland application.
Details
Accessed through
nativeInterface()
.Synopsis¶
Methods¶
def
__init__()
Virtual methods¶
def
compositor()
def
display()
def
keyboard()
def
lastInputSeat()
def
pointer()
def
seat()
def
touch()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- abstract compositor()¶
- Return type:
int
Returns the wl_compositor that the application is using.
- abstract display()¶
- Return type:
int
Returns the wl_display that the application is using.
- abstract keyboard()¶
- Return type:
int
Returns the wl_keyboard belonging to
seat()
if available.- abstract lastInputSeat()¶
- Return type:
int
Returns the seat on which the last input event happened.
- abstract lastInputSerial()¶
- Return type:
int
Returns the serial of the last input event on any seat.
- abstract pointer()¶
- Return type:
int
Returns the wl_pointer belonging to
seat()
if available.- abstract seat()¶
- Return type:
int
Returns the seat associated with the default input device.
- abstract touch()¶
- Return type:
int
Returns the wl_touch belonging to
seat()
if available.