wxyz.svg#
Widget for working with SVG groups as a widget layout
- class wxyz.svg.SVGBox(**kwargs: Any)[source]#
Bases:
SVGBase,BoxAn SVG Box that shows its children inside the bounding box of named areas in an SVG file.
- area_attr#
namespaced XML attribute on SVG
gwith unique values
- area_widgets#
a dictionary of child indices keyed by unique values of
area_attrin SVG
- box_style#
Use a predefined styling for the box.
- children#
List of widget children
- show_svg#
only use SVG for sizing, do not show
- svg#
an SVG string
- svg_file#
a path to local
.svgfile
- visible_areas#
a list of
area_attrof SVGgto show. Accepts[None]for all
- zoom_lock#
Make children non-interactive for better pan/zoom