jose.hello
jose.hello

Reputation: 21

GLADE / "Add widget as toplevel" on new version

I want to know where is the menu "Add widget as toplevel" in the new version of glade 3.22 ? In the old version it's ok, in new I can't add a widget (for example GTKBox) as toplevel. How does this work on the new version?

Glade Old version 3.14

Glade New version 3.22

Upvotes: 2

Views: 130

Answers (2)

Oskar Berggren
Oskar Berggren

Reputation: 5648

I'm not sure why, but specifically GtkBin can be added as top-level. I did not manage to find any explanation for this, but it sort of feels intentional.

Upvotes: 0

floppy_molly
floppy_molly

Reputation: 185

I would say: First create a "GtkWindow" at top level Second include a "GtkBox" in that GtkWindow (could be a GtkDialog) you have it.

Upvotes: 0

Related Questions