I initially planned to add methods on_draw() and on_event(), but in ipywidgets, on_xx is a pattern used to register callbacks, so that would be confusing.
[x] Remove send_frame() in favor of get_frame() that gets automatically called.
[x] Adds request_draw() to request a new draw.
[x] Rename receive_event() to handle_event().
[x] Added an _rfb_ prefix to all _privates to avoid name clashes.
closes #18, see that issue for the motivation
I initially planned to add methods
on_draw()
andon_event()
, but in ipywidgets,on_xx
is a pattern used to register callbacks, so that would be confusing.send_frame()
in favor ofget_frame()
that gets automatically called.request_draw()
to request a new draw.receive_event()
tohandle_event()
._rfb_
prefix to all_privates
to avoid name clashes.