Skip to content

Ideas for improving canvases that live in the browser #197

@almarklein

Description

@almarklein

Affects the pyodide, anywidget and native browser backends.

We already have:

  • set_css_width
  • set_css_height
  • set_resizable
  • show_titlebar

Ideas:

  • Minimizing the canvas, so it doesn't render temporarily.
  • Maximizing the canvas, to use the full viewport.
  • Manually closing the canvas.
  • Show a hint when the canvas has focus. E.g. make the titlebar slightly more pronounced.
  • Pyodide-specific: spawning new canvas in a container element.
  • Also see https://github.com/pygfx/renderview/issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions