32 lines
484 B
D
Executable File
32 lines
484 B
D
Executable File
import std.stdio;
|
|
import std.file;
|
|
import std.string;
|
|
import std.conv : to;
|
|
import std.path;
|
|
|
|
import window;
|
|
|
|
import gtk.Main;
|
|
import gtk.Version;
|
|
|
|
|
|
void main(string[] args)
|
|
{
|
|
writeln("=================");
|
|
writeln("Using GTK version ",Version.getMajorVersion(),".",Version.getMinorVersion(),".",Version.getMicroVersion());
|
|
writeln("=================");
|
|
Main.init(args);
|
|
|
|
//Window
|
|
auto w = new Window((args.length>=2 && exists(args[1]))? args[1] : null);
|
|
|
|
Main.run();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|