# Slate: Passing data between SCompoundWidget and/or IModuleInterface

**URL:** <https://forums.unrealengine.com/t/slate-passing-data-between-scompoundwidget-and-or-imoduleinterface/2706972>\
**Category:** UI\
**Tags:** unreal-engine, slate, CPP, question\
**Created:** [March 18, 2026, 8:50am UTC](https://forums.unrealengine.com/t/slate-passing-data-between-scompoundwidget-and-or-imoduleinterface/2706972 "2026-03-18T08:50:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phytorian040](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Phytorian040](https://forums.unrealengine.com/u/Phytorian040)\
**Post date:** [March 18, 2026, 8:50am UTC](https://forums.unrealengine.com/t/slate-passing-data-between-scompoundwidget-and-or-imoduleinterface/2706972/1 "2026-03-18T08:50:04Z")

</div>

Hey,

I’m really lost right now in Slate. I’m trying to pass FText from a SCompoundWidget class, called SScanner to another SCompoundWidget, called SLogOutput. Both are part of an editor tool, which inherits from IModuleInterface. Now I’m totally confused by how this should be done. I read about the macros SLATE\_EVENT, SLATE\_ARGUMENT and SLAT\_ATTRIBUTE. However, I do not yet fully understand them.  
What should happen is that everytime SScanner creates a Text, I want to push it to SLogOutput so that it automatically updates in the tool window. I shouldn’t need to manually refresh something.  
But is this the right way? Or is the IModuleInterface class also involved in the process?
