Skip to content

worked example of embedded browser calling back to Python with a list of bounding boxes onDomReady #5

@phrrngtn

Description

@phrrngtn

There are a couple of ways of doing this that come to mind:

  1. handle the event in Python and then inject in the JavaScript from package up JS to extract out bounding boxes from HTML page  #4 and call something in JavaScript that calls back into Python via the web-channel (I assume it is reentrant i.e. we can call from Python -> JS -> Python?)
  2. Inject in the JavaScript into a named/number world and then have the onDomReady event handled by that (JS) code which in turn would call a JS function which is dispatched to a Python slot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions