src/swipl-devel/packages/xpce/man/refmanual/md/dict_item.md

class dict_item {#class-dict_item}

A dict_item object is an entry in a dictionary (dict object). It consists of four fields: a <-key, used for indexing purposes; a <-label to be displayed when the dict_item is visualised in a browser object and and an <-object, which can be anything that is to be associated with the dict_item and finally a <-style to indicate the category the object belongs too. Each category may be displayed using another font, colour or attributes. See list_browser->style.

The <-label defaults to the <-key, the object and style default to @nil.

@see class dict

Instance variables {#class-dict_item-instvars}

Get methods {#class-dict_item-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.