Module zng_wgt_text::icon
source · Expand description
Glyph icon widget, properties and nodes.
Note that no icons are embedded in this crate directly, you can manually create a GlyphIcon
or use an icon set crate. See the zng::icon::material
module for an example.
Structs§
- Represents an icon glyph and font.
W
Render icons defined as glyphs in an icon font.
Enums§
- Identifies an icon glyph in the font set.
Statics§
- Defines the color of an icon.
- Defines the size of an icon.
Functions§
c
The glyph icon.P
Sets the icon font color.P
Sets the icon font size.