I've been developing a cross-platform program with GTK and Glade as I've been used to only creating for windows applications. This question involves widgets (I believe that is what they are called) and how they can be 'added' to the main window. It's better explained with images as well.
I have a mainwindow which is like so:
You can see the right side is intentionally left blank. This is because it will have dynamic content like player info, a minimap, inventory, etc. Here is one of the widgets I want to be included on the right side:
It mostly has only basic information that will be added. Ignoring the whole main window and just focusing on the right portion, in coding I want it to display something like this:
The issue is, I don't fully understand if this is actually how you can do it, or I should actually code the right side bar directly into the client instead.. Or to code it dynamically from scratch *I.E. Crete the labels/etc at runtime rather then this PlayerInfo window.
I am curious onto what functions can do this and if someone can point me on the right direction to understanding this. I might be completely wrong to how this should be working.
I assume you need to add the widget with C# coding at creation though.