GUI builder for Linux?

Linux specific questions.
lizard
Posts: 440
Joined: Oct 17, 2017 11:35
Location: Germany

Re: GUI builder for Linux?

Post by lizard »

Maybe i should do more with XML and gtk-builder. It has one advantage: compatibility. The XML files can be used with every other programming language. After all it is ones own choice if he wants to invest a little more time to learn gtk. glade and XML, wx-c or fltk-c. These are the best alternatives i know.
TJF
Posts: 3809
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: GUI builder for Linux?

Post by TJF »

lizard wrote:Thats right. The problem is, you have to figure out which signals to connect with which callbacks and therefore always switch between Geany and Glade. Later the problem arises how to set the start value for every widget. Then after the Gui is connected to get the resulting variables out of the widgets. All that must be done in callbacks and you always have to switch between Geany and Glade. ...
That's the main purpose of GladeToBac (https://www.freebasic-portal.de/downloa ... c-190.html). It auto-creates matching FB source code from Glade-XML (main frame, but also callbacks).
Munair wrote:TJF's code generator is outdated. It requires old libraries that are not included (anymore) in the dlownload. Even if you manage to get it running, it will generate code that is largely deprecated.
Nonsens! By default it generates up-to-date GtkBuilder code (but can still handle deprecated libglade code).
Post Reply