Skip to content

The group Widget ​

Syntax:

bash
type ::= (group [keyword argument]... type...)

A widget to group other widgets. Its super is the default widget.

Its value is a list, with one member for each type.

It overrides the following properties:

:convert-widget ​

As other composite widgets, a function that takes care of converting each widget in type.

:copy ​

A function to copy the types given in type.

:format ​

By default, displays a newline character and its value.

:value-create ​

A function to create each of its components.

:value-get ​

The same function used by the editable-list widget.

:default-get ​

A function that returns a list whose members are the default values of each widget it groups.

:validate ​

This widget validates if all of its children validate.

:match ​

This widget matches a value that matches each of its components.

:match-inline ​

As :match, but taking into account widgets and values that are inline.