Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd SubscriptLoad NameLoad Index Num Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd SubscriptLoad NameLoad Index Num Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults TupleLoad Num Num body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A N/A react pyscript window N/A Widget CanvasWidget N/A Widget N/A N/A  A widget that provides an HTML5 canvas. The canvas is scaled with
    the available space.
     N/A CSS 
    .flx-CanvasWidget {
        min-width: 50px;
        min-height: 50px;
    }
     JS N/A N/A _init N/A N/A self N/A N/A N/A N/A N/A N/A super _init N/A _mouse_down N/A N/A N/A ev N/A N/A N/A N/A self mouse_down _set 1 N/A _mouse_up N/A N/A N/A ev N/A N/A N/A N/A self mouse_down _set 0 N/A _mouse_move N/A N/A N/A ev N/A N/A N/A N/A self mouse_pos _set N/A N/A ev clientX N/A ev clientY N/A N/A N/A N/A self canvas addEventListener mousedown _mouse_down 0 N/A N/A N/A N/A self canvas addEventListener mouseup _mouse_up 0 N/A N/A N/A N/A self canvas addEventListener mousemove _mouse_move 0 N/A N/A N/A window setTimeout N/A N/A N/A ev N/A None N/A N/A self _check_real_size 10 N/A _create_node N/A N/A self N/A N/A N/A N/A self p N/A N/A N/A window phosphor createWidget div N/A N/A self canvas N/A N/A N/A window document createElement canvas N/A N/A N/A N/A N/A self p node appendChild N/A self canvas N/A N/A N/A N/A self canvas style position absolute N/A _update_canvas_size N/A N/A self size N/A N/A N/A N/A N/A size N/A 0 N/A size N/A 1 N/A N/A N/A N/A self canvas width N/A size N/A 0 N/A N/A N/A self canvas height N/A size N/A 1 N/A N/A N/A N/A self canvas style width N/A N/A size N/A 0 px N/A N/A N/A N/A self canvas style height N/A N/A size N/A 1 px N/A N/A N/A react connect real_size mouse_down N/A N/A v N/A False N/A N/A  True when the mouse is currently pressed down.
             N/A N/A bool v N/A N/A react source mouse_pos N/A N/A self pos N/A N/A 0 0 N/A N/A  The current position of the mouse inside this widget.
             N/A rect N/A N/A N/A self canvas getBoundingClientRect N/A offset N/A N/A rect left N/A rect top N/A N/A N/A float N/A N/A pos N/A 0 N/A offset N/A 0 N/A float N/A N/A pos N/A 1 N/A offset N/A 1 N/A N/A react source N/A N/A