Skip to content

Instantly share code, notes, and snippets.

/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@MikeWey
MikeWey / CustomList.d
Created January 2, 2014 17:49
A reorderable CustomList.
module CustomList;
import glib.RandG;
import gobject.Type;
import gobject.Value;
import gtk.SelectionData;
import gtk.TreeIter;
import gtk.TreePath;
import gtk.TreeModel;
import gtk.TreeDragDestT;
@MikeWey
MikeWey / Loader.d
Created September 29, 2012 15:47
GtkD loader using GetLastError
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD is distributed in the hope that it will be useful,