You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've been trying to find get_scancode (https://docs.gtk.org/gdk3/method.Event.get_scancode.html) or any sort of wrapper of it within gotk3, I cannot find any mention of scancode anywhere in the source at all. My understanding is that it would be on the gdk.Event directly, but I guess it could also be on a KeyEvent (although that doesn't seem to be what the docs suggest).
It was added in 3.22 so I'm guessing it's possible that it is missing?
To Reproduce
Steps to reproduce the behavior:
"inputBox_key_press_event_cb": func(entry *gtk.Entry, event *gdk.Event) {
y := event.ScanCode();
keyEvent := gdk.EventKeyNewFromEvent(event)
x := keyEvent.ScanCode()
}
Expected behavior
the scancode should be accessible?
Error messages
Compile error
Environment:
gtk3 version: '3.24.38-2~deb12u1'
go version: 'go version go1.19.8 linux/amd64'
os: 'Debian 12'
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
I've been trying to find get_scancode (https://docs.gtk.org/gdk3/method.Event.get_scancode.html) or any sort of wrapper of it within gotk3, I cannot find any mention of scancode anywhere in the source at all. My understanding is that it would be on the gdk.Event directly, but I guess it could also be on a KeyEvent (although that doesn't seem to be what the docs suggest).
It was added in 3.22 so I'm guessing it's possible that it is missing?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the scancode should be accessible?
Error messages
Compile error
Environment:
gtk3 version: '3.24.38-2~deb12u1'
go version: 'go version go1.19.8 linux/amd64'
os: 'Debian 12'
Additional context
The text was updated successfully, but these errors were encountered: