2020-10-17 11:54:07 +00:00
|
|
|
import std.stdio;
|
|
|
|
|
|
|
|
import gtk.Main;
|
|
|
|
import gtk.MainWindow;
|
|
|
|
import gtk.MenuBar;
|
|
|
|
import gtk.Statusbar;
|
|
|
|
import gtk.Grid;
|
|
|
|
import gtk.Label;
|
|
|
|
import gtk.MenuItem;
|
|
|
|
import gtk.Menu;
|
|
|
|
//import gio.MenuModel;
|
|
|
|
import gtk.ListBox;
|
|
|
|
import gtk.Box;
|
|
|
|
import gtk.Notebook;
|
|
|
|
|
|
|
|
import gui;
|
|
|
|
import gdk.Threads : threadsEnter, threadsLeave;
|
|
|
|
|
|
|
|
import gtk.SelectionData;
|
|
|
|
import gtk.Widget;
|
2020-10-23 12:02:01 +00:00
|
|
|
|
|
|
|
|
2020-10-17 11:54:07 +00:00
|
|
|
void main()
|
|
|
|
{
|
|
|
|
/* Initialize the framework with no arguments */
|
|
|
|
string[] args;
|
|
|
|
Main.initMultiThread(args);
|
|
|
|
|
|
|
|
|
|
|
|
GUI gui = new GUI();
|
|
|
|
gui.start();
|
|
|
|
|
|
|
|
|
|
|
|
/* Start the event loop */
|
|
|
|
Main.run();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|