Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How to get WinID handle as pointer in pyside6
Qt 6.11 is out! See what's new in the release blog

How to get WinID handle as pointer in pyside6

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 545 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    notnullnil
    wrote on last edited by
    #1

    In pyqt, one can access wid as sip.voidptr, using widget.winId(), and then turn it to capsule object using wid.ascapsule()

    In pyside6, when using widget.winId(), I can only get an int number.

    How can I get winId() as ptr like pyqt when using pyside6?

    I need to pass winId to WNT_Window(), come from library OCP, which takes a ptr.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved