Skip to content

Commit 07196fa

Browse files
authored
Update SkiaGTK4Example.py
Event Controller API references. The current event handling code is definitely wrong.
1 parent 8f2d228 commit 07196fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SkiaGTK4Example.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Copyright 2024 Hin-Tak Leung, ported to GTK4 by Copilot
77
# Distributed under the terms of the new BSD license.
88

9+
# References see https://lazka.github.io/pgi-docs/Gtk-4.0/classes/EventController.html
10+
911
import gi
1012
gi.require_version("Gtk", "4.0")
1113
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib, GdkRGBA
@@ -194,4 +196,4 @@ def main():
194196
app.run(sys.argv)
195197

196198
if __name__ == '__main__':
197-
main()
199+
main()

0 commit comments

Comments
 (0)