Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Demo.LogViewerContentExample Class Reference

Example of a log viewer Content Element using the ScrollView component to show a list of text entries To use Content Elements like this in your own code just create a new class that extends the element your want to use (VisualElement, ScrollView, etc.) and then add the content you want to show in the constructor. More...

Inheritance diagram for GWG.WindowFramework.Demo.LogViewerContentExample:
Collaboration diagram for GWG.WindowFramework.Demo.LogViewerContentExample:

Public Member Functions

 LogViewerContentExample ()
 Builds fifty fixed demonstration labels with sample inline styling.

Detailed Description

Example of a log viewer Content Element using the ScrollView component to show a list of text entries To use Content Elements like this in your own code just create a new class that extends the element your want to use (VisualElement, ScrollView, etc.) and then add the content you want to show in the constructor.

Then you can just set the Content of your window with the element you created. when you create the window just add: Content = new LogViewerContentExample(); OR Content.Add(new LogViewerContentExample());

Constructor & Destructor Documentation

◆ LogViewerContentExample()

GWG.WindowFramework.Demo.LogViewerContentExample.LogViewerContentExample ( )
inline

Builds fifty fixed demonstration labels with sample inline styling.

Does not subscribe to Unity logs, stream files or own a persistent log history. Add to existing window content; caller owns the subtree's lifecycle.

Here is the caller graph for this function: