Package: gtk

Accessor gtk-status-icon-stock

Lambda List

gtk-status-icon-stock (object)

Syntax

(gtk-status-icon-stock object) => stock-id
(setf (gtk-status-icon-stock object) stock-id)

Arguments

object -- a gtk-status-icon widget
stock-id -- a string with the stock ID

Details

Accessor of the stock slot of the gtk-status-icon class.

The slot access function gtk-status-icon-stock gets the ID of the stock icon being displayed by the status icon. The slot access function (setf gtk-status-icon-stock) sets the stock ID.

The storage type of the status icon must be the value :empty or :stock of the gtk-image-type enumeration. See the function gtk-status-icon-storage-type.

Warning

The function gtk-status-icon-stock has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-22