Expand description
§Picon
Get process icons in a cross-platform way.
Supports Windows, Linux, macOS, and BSD-based systems.
[!WARNING]
The library is intended for use in Sniffnet, and this is the reason why icons are returned as Iced
Handleobjects.Feel free to take inspiration from this library and adapt it to your needs, but be aware that it’s not designed to be used as a general-purpose crate.
§Acknowledgements
iconcrate for simplifying icon retrieval on Linux and BSD-based systemswindows-iconscrate for inspiring icon retrieval on Windows
Enums§
- Icon
Handle - An Iced image or SVG handle of a process icon.
Constants§
- IS_
OS_ SUPPORTED - Indicates whether the current operating system is supported by this library.
Functions§
- get_
icon - Returns the process icon given the path to an executable (Windows and mcOS) or its name (other platforms).