mappu / miqt

MIT-licensed Qt bindings for Go
MIT License
272 stars 10 forks source link

Connecting to Events (KeyPressEvent, WheelEvent, Move, Resize etc) #69

Open ilius opened 1 week ago

ilius commented 1 week ago

Hi

I'm using qt6 package.

There are several widget signals I could not figure out how to connect to (register a func to run)

I also could not figure out how to use QObject.Connect2 manually for these.

mappu commented 1 week ago

MIQT supports Qt signals well, but in C++ those examples are not signals, but rather virtual override class methods. Qt uses this technique for methods that might be called with a high frequency.

Duplicate of #42 . Work is in progress to support this very soon.