From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.90.10 with SMTP id bs10mr79361224pab.12.1470674532106; Mon, 08 Aug 2016 09:42:12 -0700 (PDT) X-Received: by 10.157.56.165 with SMTP id p34mr1688635otc.6.1470674532059; Mon, 08 Aug 2016 09:42:12 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no8327739ith.0!news-out.google.com!d130ni28794ith.0!nntp.google.com!f6no8327728ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Aug 2016 09:42:11 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.252.108.88; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 109.252.108.88 References: <317c7c35-7260-4b0a-9615-b8616c87dfdc@googlegroups.com> <995dcf3b-cc66-4179-8922-1a0b0d71d68a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <64bea585-c233-46bf-91ac-be74c2ecb4ba@googlegroups.com> Subject: Re: Gtkada, Gtkada_Builder.Add_From_String problem. From: George J Injection-Date: Mon, 08 Aug 2016 16:42:12 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31322 Date: 2016-08-08T09:42:11-07:00 List-Id: =D0=BF=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA, 8 =D0= =B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2016 =D0=B3., 19:01:46 UTC+3 =D0=BF= =D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Dmitry A= . Kazakov =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > On 2016-08-08 16:54, George J wrote: >=20 > > And for " never use GLADE or XML " : i don't know how to make > > beautiful and understandeable GUI with Ada in other way. Could you > > suggest something? >=20 > It is not Ada specific. >=20 > GTK is designed with widgets having no fixed layout in mind. There is a= =20 > complex mechanism how children widgets communicate with the parameters=20 > in order to obtain their sizes. A GUI builder does not work well in this= =20 > environment. It does not work well even when widgets are fixed, e.g.=20 > Win32 GDI with MS resource editor. Then GTK is permanently under=20 > incompatible changes. GLADE is poorly maintained and never catches up=20 > with the changes. All this makes GLADE programs practically unmaintainabl= e. >=20 > Just create widgets and put them into containers (boxes, grids, tables)= =20 > from the program. Always create your specific widgets by deriving from=20 > existing ones (usually containers) and doing initialization in=20 > Initialize, which you call from Gtk_New. Use GTK signals and properties.= =20 > You can define new signals and properties for your widgets when necessary= . >=20 > --=20 > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Ok Dmitry. I'll convert my project with this method and watch,what happens = with it. But whether it not a waste of time to do GUI application manually? p.s. And, BTW, i couldn't install GPS installer today, GTKADA contributions= and other components on GNAT 2016 with compiled and built gps_installer.ex= e, so i've put folder "gtkada_contributions" with my project and use that f= iles this way: "with Gtk.Main.Router;" etc. What can I do to install it pro= perly? or GNAT 2016 doesn't supported? Thanks.