2.255 .picture_hilite[integer]

The attribute defines the pictures (tile resources) that are shown next to selected entries.

The value range for the index is 1 … .itemcount. The respective item .content[I] in the listbox or .text[I] in the poptext must already exist before the attribute .picture_hilite[I] with the corresponding index may be accessed.

For not selected entries the image defined in .picture[integer] is displayed – when available.

Definition

  • Data type

    object [ tile ]

  • Access

    get, set

  • changed event

    yes

The size of the space provided for the images to the left of the entries is determined by the .picwidth and .picheight attributes.

At the listbox the attribute is not inherited.

With a poptext with .style = edittext or .style = listbox, no picture is displayed in the input field.

The attribute is not supported by the IDM for Motif.

Note for the IDM for Qt

If in listbox and poptext a tile is only set for .picture_hilite[I], but not for .picture[I], then Qt will display the tile defined in .picture_hilite[I] (or a slight modification of it) even in the unselected state. Qt always tries to provide images for all states for the list entries. If the image is missing for a state, Qt generates it from the images provided.