GPUI.Application.Icon (gpui v0.2.0-rc.1)

Copy Markdown View Source

Application-owned icon source metadata.

source is a relative path to an icon asset or asset directory. Platform packaging remains responsible for producing bundle, executable, and desktop integration resources.

Summary

Types

t()

@type t() :: %GPUI.Application.Icon{description: String.t() | nil, source: String.t()}

Functions

new!(attrs)

@spec new!(keyword() | map()) :: t()

validate!(icon)

@spec validate!(t()) :: t()