Skip to content

Class

SelectionEntryViewBase

Generated GDScript class reference for GridPlacement.SelectionEntryViewBase.

Status
Current
Version
v6.2.1
Source updated
2026-09-24
Generated on
2026-10-22

Shared base for single-row selection/palette entry views. PlaceableView and TerrainPaletteEntryView are the same widget with different payloads: an HBox row with an icon and a label, click/hover interaction, and enforced view height + icon size. The sizing exports, the wired child refs, and the interaction/sizing routines were identical copies in both; this base is their one home. Subclasses own their payload, their signal, and what a click means.

Source: addons/grid_placement/ui/selection_entry_view_base.gd

Syntax

class SelectionEntryViewBase extends PanelContainer

Members

NameKindSummary
fixed_view_heightPropertyFixed height for entry views to maintain consistent sizing.

When set to a positive value, enforces a fixed height regardless of content.
When set to 0, height enforcement is disabled and the view will size naturally.
Default: 48 pixels to match template standard sizing.
fixed_icon_sizePropertyFixed icon size for consistent icon dimensions across all entry views.

When set to a positive value, enforces both width and height of icon TextureRect.
When set to 0, icon sizing is not enforced and will use scene file settings.
Default: 40 pixels to match standard icon sizing.
set_lockedMethod
apply_lock_visualsMethod