Exploring Gui.cs - Custom Terminal UIs in .NET @WorldOfZeroDevelopment
Exploring Gui.cs - Custom Terminal UIs in .NET  @WorldOfZeroDevelopment
Uploaded February 2020 | Updated November 2026, 3 hours ago
Gui.cs is a library put together by Miguel de Icaza that allows you to compose complex Terminal UI's using a collection of `View` components such as `Window`s, `Button`s, `ListView`s or `Label`s. This allows you to create relatively complicated UI interfaces without having to manually handle some of the rendering requirements that entails. In this video I'd like to explore it as a first time user and see what possibilities it creates for us.

We'll explore a number of things including:

* How to create and size an application `Window`.
* How to parent objects to one another so components may be nested within one another.
* How to create lists of objects.
* How to create a custom list container for computed sets of items (we'll create an infinite list of integers) using the `IListDataSource` interface.

Because this is my first time seeing this library we'll also see what some of the stumbling blocks might be and what the solution to them is. Let's explore Gui.cs together and see what we can make!

A simple example script to render a basic text label looks like this:

```csharp
Application.Init ();
var top = Application.Top;
var label = new Label("Hello, Gui.cs!");
top.Add(label);

Application.Run();
```

The Gui.cs source code is available on GitHub here: github.com/migueldeicaza/gui.cs

GUI.CS is available on Nuget: nuget.org/packages/Terminal.Gui

More information about String Interpolation and Formatting: docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting#format-string-component

Join the World of Zero Discord Server: discord.gg/hU5Kq2u
Exploring Gui.cs - Custom Terminal UIs in .NETRendering 3D Objects in your UI Using Multiple CamerasUsing Properties and Steps in Part 2 of our Ripple in Shader GraphBuilding a Game of Dice - #GMTKJam 2022 - Day 1Variable Radius Circle Pixels -  Circle Pixel Shader - Part 4Turning Circular Pixels Into Diamond PixelsGetting Started with LINQ in C#Live Coding Event Based GameObject Health in UnityExploring Top-Level Programs in C# 9Installing Nyancat using the .NET CLIHDRP Post Processing Volumes in UnityAn Appendable List with Operator Overloading
World of Zero |

Exploring Gui.cs - Custom Terminal UI's in .NET

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER