Building basic gtkd,opengl application

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 21 11:07:25 PDT 2015


On 09/21/2015 10:59 AM, Michał wrote:
> So no idea how to make basic gtk/opengl application working?

With no experience at all, copying an example without opengl from a 
basic and incomplete Turkish gtkd tutorial[1]:

import gtk.Window;
import gtk.Main;

int main(string[] args)
{
     Main.init(args);
     auto pencere = new Window("deneme");
     pencere.show();
     Main.run;

     return 0;
}

Does that work?

Ali

[1] http://ddili.org/ders/gtkd/merhaba_gtkd.html



More information about the Digitalmars-d-learn mailing list