Class PlaceableUIInteraction
- Namespace
- GridPlacement.GDScript
- Assembly
- MoonBark.GridPlacement.GDScript.dll
Shared UI interaction helper for placeable UI components.\n\nProvides consistent pressed/hover/normal state interaction for placeable views and list entries. Handles mouse interactions and visual feedback to ensure consistent user experience. Uses theme file for style definitions while managing state transitions.
class PlaceableUIInteraction extends RefCounted
PlaceableUIInteraction
Properties
mouse_event
var mouse_event = event as InputEventMouseButton
Methods
init
func init(control: Control) -> void:
Parameters
control
Returns
cleanup
func cleanup() -> void:
Returns
Events
clicked
Allow external objects to connect to click events
signal clicked()