Skip to content

Commit 3f16430

Browse files
committed
more docs on events
1 parent 20c9421 commit 3f16430

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
Events in detail
2+
================
3+
4+
This is a more in-depth guide to events.
5+
6+
Graphic-specific events
7+
-----------------------
8+
9+
ImageGraphic
10+
^^^^^^^^^^^^
11+
12+
13+
line
14+
15+
line collections
16+
17+
scatter
18+
19+
Canvas events
20+
-------------
21+
22+
Pointer events
23+
24+
* on a graphic
25+
26+
* on the Figure
27+
28+
Key events
29+
30+
* On the Figure
31+
32+
Canvas events not associated with a Graphic
33+
-------------------------------------------
34+
35+
pointer
36+
37+
key
38+
39+
resize
40+
41+
Integrating with UI libraries
42+
-----------------------------
43+
44+
ipywidgets
45+
^^^^^^^^^^
46+
47+
advantages:
48+
fast, great for prototyping
49+
50+
disadvantages:
51+
only runs in jupyter
52+
53+
Examples
54+
55+
56+
Qt
57+
^^
58+
59+
advantages
60+
Qt is everywhere, used by lots of devs and big projects, lots of tutorials
61+
62+
disadvantage:
63+
only works in Qt
64+
65+
Examples, see gallery
66+
67+
68+
imgui
69+
^^^^^
70+
71+
advantages
72+
within-canvas, will work with any framework!
73+
big community
74+
75+
disadvantage:
76+
different programming model than Qt or ipywidgets, but not difficult to learn.
77+
78+
Examples, in the gallery

0 commit comments

Comments
 (0)