Skip to content

Widget Index#

Here you will find a list of all the widgets that are available in magicgui. Each widget has a link to its own documentation page, where you can find more information about the widget, including its parameters and events.

Widget Description
CheckBox A checkbox with a text label.
ComboBox A dropdown menu, allowing selection between multiple choices.
Container A Widget to contain other widgets.
DateEdit A widget for editing dates.
DateTimeEdit A widget for editing dates and times.
Dialog A modal container.
EmptyWidget A base widget with no value.
FileEdit A LineEdit widget with a button that opens a FileDialog.
FloatRangeSlider A slider widget to adjust a range defined by two float values within a range.
FloatSlider A slider widget to adjust an integer value within a range.
FloatSpinBox A widget to edit a float with clickable up/down arrows.
FunctionGui Wrapper for a container of widgets representing a callable object.
Image A non-editable image display.
Label A non-editable text display.
LineEdit A one-line text editor.
ListEdit A widget to represent a list of values.
LiteralEvalLineEdit A one-line text editor that evaluates strings as python literals.
LogSlider A slider widget to adjust a numerical value logarithmically within a range.
MainFunctionGui Container of widgets as a Main Application Window.
MainWindow A Widget to contain other widgets, includes a menu bar.
Password A one-line text editor that obscures input.
ProgressBar A progress bar widget.
PushButton A clickable command button.
QuantityEdit A combined LineEdit and ComboBox to edit a pint.Quantity.
RadioButton A radio button with a text label.
RadioButtons An exclusive group of radio buttons, providing a choice from multiple choices.
RangeEdit A widget to represent a python range object, with start/stop/step.
RangeSlider A slider widget to adjust a range between two integer values within a range.
Select A list of options, allowing selection between multiple choices.
SliceEdit A widget to represent slice objects, with start/stop/step.
Slider A slider widget to adjust an integer value within a range.
SpinBox A widget to edit an integer with clickable up/down arrows.
Table A widget to represent columnar or 2D data with headers.
TextEdit A widget to edit and display both plain and rich text.
TimeEdit A widget for editing times.
ToolBar Toolbar that contains a set of controls.
TupleEdit A widget to represent a tuple of values.