I am trying to wrap my head around something I saw that I didn’t understand.
You create a class from DesktopContainer.
The new container class shows up in the right side library viewer, and you can drag it onto the window. But I could have swore it was supposed to be dragged from the library to the project tree before adding it to the window.. Maybe this was toolbar behaviour?
When you add a subclass of a desktop container, it exists in your project tree; you can drag it out of there or from the library, but you always drag it into a window.
Some items don’t have location info, eg timer, and might be able to be dragged into window in tree, as they are shown in the bottom toolbar in the GUI editor. Never tried that, always dragged into window.
1 Like
I think it is not essential to have a class with the container
i think there are 2 ways
add a new class and set super to other class, make it ready and then drag drop it into the window
or as example add a canvas to window and use context menu add sub class