CategoryOptions

Inherits: VBoxContainer > BoxContainer > Container > Control > CanvasItem > Node > Object

Description

UI Element for the category optional data used by the Docs Exporter tab. It’s through these that the user of the addon will be able to customize the weight and description of the Hugo export for each category they create.

This element will be populated by a CategoryOptionalData resource which will handle the persistence and the sharing of this data with any part of the code that needs it. Anything filled in the Docs Exporter tab will be saved in the file res://addons/eh_jogos.docs-exporter/shared_variables/dict_categories_optional_data.tres

Methods

return type method signature
null populate_category_entry(String p_name, CategoryOptionalData p_data)

Method Descriptions

populate_category_entry

Sets the [CategoryOptionalData] this element will be attached to and fill its fields with their value.