Can I make a scrolledwindow in Glade without a child?
I have a scrolledwindow as part of an application I've designed in Glade. I don't want to create the child object in Glade though, I want to create it and add it in the code directly.

When I try to do this though, I get a weird result where the whole scrolledwindow is just blank.

![enter image description here][1]


Here I've added a TreeView widget, but the same thing happens if I add a TextView, or presumably something else. You can see the scrollbars on the sides, so I'm sure rows are getting added.

Here's what it looks like when I add a TreeView widget in Glade.

![enter image description here][2]

There's nothing there, because I didn't add anything to it, but it's more like what you'd expect. A blank window.

The only solution I have right now is to include a child in Glade, and then immediately remove it when the program starts. That seems silly though. Is there some setting I'm missing so that I can just leave it childless?

  [1]: http://i.stack.imgur.com/otaUs.png
  [2]: http://i.stack.imgur.com/bOrDp.png
Can I make a scrolledwindow in Glade without a child?
===

I have a scrolledwindow as part of an application I've designed in Glade. I don't want to create the child object in Glade though, I want to create it and add it in the code directly.

When I try to do this though, I get a weird result where the whole scrolledwindow is just blank.

![enter image description here][1]


Here I've added a TreeView widget, but the same thing happens if I add a TextView, or presumably something else. You can see the scrollbars on the sides, so I'm sure rows are getting added.

Here's what it looks like when I add a TreeView widget in Glade.

![enter image description here][2]

There's nothing there, because I didn't add anything to it, but it's more like what you'd expect. A blank window.

The only solution I have right now is to include a child in Glade, and then immediately remove it when the program starts. That seems silly though. Is there some setting I'm missing so that I can just leave it childless?

  [1]: http://i.stack.imgur.com/otaUs.png
  [2]: http://i.stack.imgur.com/bOrDp.png