Mercurial > projects > mde
diff mde/gui/widget/layout.d @ 162:2476790223b8
First drag and drop support: can drag from AStringContentWidget to any content editable. No visual feedback while dragging.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 22 May 2009 19:59:22 +0200 |
parents | ccd01fde535e |
children | 24d77c52243f |
line wrap: on
line diff
--- a/mde/gui/widget/layout.d Thu May 21 22:15:40 2009 +0200 +++ b/mde/gui/widget/layout.d Fri May 22 19:59:22 2009 +0200 @@ -120,6 +120,12 @@ return cList; } + override bool dropContent (IContent content) { + if (cList.setContent (content)) + return true; + return parent.dropContent (content); + } + override void recursionCheck (widgetID wID, IContent c) { if (wID is id && c is cList) throw new WidgetRecursionException (wID);