0

Does Gtk(mm) contain anything similar to WPF's XAML Grid? The reason being is that I want to make an app that is capable of running on Linux, Windows, etc. The only plausible solution is Gtk or Qt, but those don't have layout documents like WPF does with XAML.

Being that I never use the designer in WPF, I just code the XAML, I could cope with that.

So my question is: Is there a layout designer for Gtk or Qt (preferably Gtk) or is there a Grid-like layout control for Gtk or Qt (preferably Gtk)

Cole Tobin
  • 9,206
  • 15
  • 49
  • 74

1 Answers1

1

Yes, GTK has the Glade user interface designer (homepage) which produces an XML layout document.

GTK also has a Grid control (C API documentation, C++ API documentation).

ptomato
  • 56,175
  • 13
  • 112
  • 165
  • Just what I was looking for. One question: is there any way to keep the XML files from being tampered with or are they "compiled" into a binary file at compile time? – Cole Tobin Nov 27 '12 at 17:06
  • They're usually stored as a file(s) where your executable can find them, but you can also embed the XML markup in your source as a string. See GtkBuilder docs. – ergosys Nov 28 '12 at 08:15