Hi,
Please find attached 3 files. The first file (gui1_test.C) is a simple project with two TGTextButton entries (*fTextButton560 and *fTextButton565) created using TGuiBuilder (I like it . Following this, I opened the same file and saved with different name - gui2_test.C. Then I opened gui2_test.C and saved with name - gui3_test.C. In doing this, I noticed the following two issues:
[1] Every time I open & save the project, one “composite frame” is added to the project. As you can see: 1 in gui2_test.C and 2 in gui3_test.C. This changes name and pointer to TGMainFrame.
[2] The second one is more annoying. The pointer names to TGTextButton created in the first file (*fTextButton560 and *fTextButton565) keep changing every time I open and save the project. This happens not only to TGTextButton class but also for all available classes in TGuiBuilder. As I mentioned, this is annoying since I have to modify my big project as I test it. So, when I start writing GUI, I would start with some meaningful names e.g. *fTBStart, *fTBStop etc. But I cannot do this for obvious reason explained above.
Am I missing something OR this is the normal behavior of TGuiBuilder? I am using ROOT 5.28/00 on 2.6.9-89.35.1.EL Linux kernel.
Thanks and regards,
Ajay
gui3_test.C (3.91 KB)
gui2_test.C (3.55 KB)
gui1_test.C (3.2 KB)