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 gtk:status-icon-stock function gets the ID of the stock icon being displayed by the status icon. The (setf gtk:status-icon-stock) function 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 gtk:status-icon-storage-type function.

Warning

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

See also

#2023-3-27