Skip to content

IconCatalog ​

Inherits: GridCatalog < ConfirmationDialog

The catalog that picks an icon: a grid of every icon of the icon library, with a search bar and a category filter. selection_made gives the texture that was chosen.

Methods ​

voidshow_catalog()
voidopen()
Array[String]get_available_categories()
voidfilter_by_category( category: String )
voidsearch_icons( search_text: String )
intget_category_icon_count( category: String )

Signals ​

selection_made( icon_texture: CompressedTexture2D ) ​

Method descriptions ​

void show_catalog() ​

No description yet.

void open() ​

Show the icon catalog

Array[String] get_available_categories() ​

Get all available icon categories

void filter_by_category( category: String ) ​

Filter icons by specific category

void search_icons( search_text: String ) ​

Search for icons by text

int get_category_icon_count( category: String ) ​

Get icon count for a specific category