Am 26.10.18 um 19:57 schrieb oliver_p:
> we are building an interactive graph and want to implement some mouse
> events. We found the example:
> https://graph-tool.skewed.de/static/doc/demos/animation/animation.html , but
> we still struggle. Is there an easier way then making a subclass? Like "
> give the draw function a self written mouse_listener as argument" ?

No, that would require allowing every possible override via parameter
arguments, which would clutter the code tremendously. The proper way to do
this is to subclass, which a lot more elegant, and does the job.

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to