The '''DesktopDisplayLayout''' component displays a list of display selection buttons for a user's monitor settup. Used in the dash and only works in the dash world.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|User|{{RootFieldType|UserRef}}|TypeAdv0=true|
|User|{{RootFieldType|UserRef}}|TypeAdv0=true| The user to get displays for.
|DisplayTemplate|Slot|
|DisplayTemplate|Slot| the template to use when generating display selection buttons.
|ItemGenerated|{{RootFieldType|SyncDelegate`1|[[#DisplayItemHandler|DisplayItemHandler]]}}|TypeAdv2=true| usually the OnDisplayItemGenerated() sync delegate from [[Component:DesktopControlDialog#Sync Delegates|DesktopControlDialog]].
}}
}}
== Behavior ==
== DisplayItemHandler ==
A Sync delegate of type [[Type:Delegate|Delegate]]<[[Type:Display|Display]] display, [[Type:Slot|Slot]] itemRoot>
[[Category:Components With Nested Types{{#translation:}}|Desktop Display Layout]]
[[Category:Components With Nested Types{{#translation:}}|Desktop Display Layout]]
[[Category:ComponentStubs]]
Revision as of 21:08, 15 January 2025
Component image
Desktop Display Layout component as seen in the Scene Inspector
The DesktopDisplayLayout component displays a list of display selection buttons for a user's monitor settup. Used in the dash and only works in the dash world.