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.42.22.75 with SMTP id n11mr28313780icb.22.1418594848601; Sun, 14 Dec 2014 14:07:28 -0800 (PST) X-Received: by 10.182.49.226 with SMTP id x2mr275obn.40.1418594848321; Sun, 14 Dec 2014 14:07:28 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!h15no9990604igd.0!news-out.google.com!r1ni52qat.1!nntp.google.com!s7no7143716qap.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 14 Dec 2014 14:07:28 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=73.46.72.234; posting-account=yiWntAoAAAC1KqC_shmxJYv07B9l6LNU NNTP-Posting-Host: 73.46.72.234 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Native Gtk App with Gnoga From: David Botton Injection-Date: Sun, 14 Dec 2014 22:07:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1890 X-Received-Body-CRC: 1388459514 Xref: news.eternal-september.org comp.lang.ada:23990 Date: 2014-12-14T14:07:28-08:00 List-Id: I have added support for native Gtk Apps now with Gnoga :) Directions: Make sure you have installed WebKit2Gtk and Gtk-3.0 sudo apt-get install libwebkit2gtk-3.0-dev sudo apt-get install libgtk-3-dev Create the native support in Gnoga: make native_gtk 1. Create a singleton app as usual 2. Initialize the the Gtk front end: Gnoga.Application.Gtk_Window.Initialize (Port => 8080, Width => 800, Height => 600); 3. Start your application with Verbose set to False to avoid seeing start up information: Gnoga.Application.Singleton.Initialize (Main_Window => M, Verbose => False); Build your app as usual and it will now use the Gtk front end. I will be improving on this over time and post 1.0 I'll allow direct connection with WebKit3Gtk with no need for sockets for increased speed, etc. David Botton