Package: gtk

Class gtk:numerable-icon

Superclasses

gio:emblemed-icon, gio:icon, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

background-icon
The background-icon property of type g:icon (Read / Write)
The icon for the number emblem background.
background-icon-name
The background-icon-name property of type :string (Read / Write)
The icon name for the number emblem background.
Default value: nil
count
The count property of type :int (Read / Write)
The count of the emblem currently displayed.
Allowed values: [-99,99]
Default value: 0
label
The label property of type :string (Read / Write)
The label to be displayed over the icon.
Default value: nil
style-context
The style-context property of type gtk:style-context (Read / Write)
The style context to theme the icon appearance.

Details

The gtk:numerable-icon class is a subclass of the g:emblemed-icon class that can show a number or short string as an emblem. The number can be overlayed on top of another emblem, if desired. It supports theming by taking font and color information from a provided gtk:style-context object.

Examples

Typical numerable icons:

Warning

The gtk:numerable-icon class has been deprecated since version 3.14 and should not be used in newly written code.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-12-31