Adding a Declare button - What type of window is used?

Hello,

I am trying to add a button on a Xojo Window using declares, and am using gtk calls, and it is not working.

What is the type of Windows that Xojo is using so that I can add native controls using declares through Xojo? Is it GTK?

Warm regards.

I dug this up for someone (And added a lot to the LinuxBridge plugin to help me poke around,

I don’t remember who i did it for and seem to be unable to find my findings on the hierarchy.

But…

Just grab the LinuxBridge on my web and use it to poke around. (its 100% free).

You should be able to find the hierarchy in minutes with it. you just use GtkContainer.FromIntegerPtr on the Window

Then you use FirstChild on that and check the Name property on that. If its not something you can embed on then you do Firstchild on that and go further down until you get some good box that makes sense to embed on.

4 Likes

Hi Bjorn,

Much appreciated. Thanks for the help, and I’ll try different things.

Warm regards.