---
name: "gk_avlist"
section: "3gk"
platform: "linux"
package: "groupkit"
version: "3.2-1"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/gk_avlist"
---

# gk\_avlist(3gk)

display a list of attribute / value pairs

## NAME

gk\_userlist - display a list of attribute / value pairs

## SYNOPSIS

- **gk\_avlist** *pathname* ?*options*?

  ## DESCRIPTION

This widget is used to display a list of attribute / value pairs. Facilities exist for adding, deleting or changing attributes in the list. Attributes and values are represented as text labels in the window. The widget is used internally by the gk\_attributes(n) family  of widgets.

## WIDGET COMMAND

The **gk\_avlist** command creates a new Tcl command whose name is *pathname*.  This command may be used to invoke various operations on the widget.  The following commands are possible:

- *pathname* **addattr** *attribute value*

  Add an attribute to the list.

- *pathname* **delattr** *attribute*

  Delete an attribute from the list.

- *pathname* **changeattr** *attribute value*

  Change the value of an attribute already in the list.

- *pathname* **attributes**

  Return a list of all attributes displayed in the list.

## NOTE

This widget is built using the GroupKit class builder; see the GroupKit User Manual for more information.

## SEE ALSO

gk\_attributes(n)

## AUTHOR

Shannon Jaeger (jaeger@cpsc.ucalgary.ca) and Mark Roseman (roseman@cpsc.ucalgary.ca)
