* Native Gtk App with Gnoga
@ 2014-12-14 22:07 David Botton
0 siblings, 0 replies; only message in thread
From: David Botton @ 2014-12-14 22:07 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-14 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-14 22:07 Native Gtk App with Gnoga David Botton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox