-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
release-summaryused for release summary issuesused for release summary issues
Milestone
Description
v0.2.6 is a significant feature release, introducing a number of new widgets and APIs:
- New
TableWidget allowing easy creation and modification of Table UIs using a variety of pure python types as input (#61) - Tooltips for each widget in a
@magicguiare now automatically taken from docstrings (numpy, google, and sphinx-rst format accepted)(#100) - New
ProgressBarwidget (#104) andmagicgui.tqdmwrapper (#105) allow both manual and automatically-added progress bars to long-running iterator-based functions.magicgui.tqdm.tqdmacts as a drop-in replacement fortqdm.tqdmthat will fall back to the standard (console output) behavior if used outside of a magicgui function, or inside of a magicgui widget that is not yet visible. - New
MainWindow/MainFunctionGuisubclasses allow creating top level "application" windows, with a basic API for adding items to the application menubar (#110). - The new
@magic_factorydecorator creates a callable that, when called, returns aFunctionGuiinstance (as opposed to@magicguiwhich immediately creates theFunctionGuiinstance. Think of this as returning a "class" as opposed to returning an "instance":@magic_factory(call_button=True) def my_factory(x: int, y = 'hi'): ... # can add to or override original factory arguments widget = my_factory(main_window=True) widget.show()
- "vertical" is now the default layout for
Containersand magicgui widgets.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
release-summaryused for release summary issuesused for release summary issues