Transform¶
-
class
glumpy.transforms.Transform(code, *args, **kwargs)¶ Bases:
glumpy.gloo.snippet.Snippet,glumpy.app.window.event.EventDispatcherTransforms are snippets that can handle and propagate events such that they are able to react to window event.
A Transform can be connected to the following events:
on_attachon_resizeon_mouse_scrollon_mouse_grabon_mouse_presson_mouse_release
-
attach(program)¶ Attach the transform to a program