2 * This file is part of dui.
4 * dui is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * dui is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with dui; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 module duit
.TestThemes
;
21 private import gtk
.Window
;
23 private import gtk
.VBox
;
24 private import gtk
.ScrolledWindow
;
25 private import gtk
.Widget
;
26 private import gtk
.ComboBox
;
27 private import gtk
.ButtonBox
;
28 private import gtk
.HButtonBox
;
29 private import gtk
.Button
;
31 class TestThemes
: VBox
42 printf("instantiating TestThemes\n");
47 sw
= new ScrolledWindow(null,null);
49 sw
.addWithViewport(initTable());
51 ButtonBox hBox
= HButtonBox
.createActionBox();
53 packStart(sw
,true,true,0);
54 packStart(hBox
,false,false,0);
61 return new ComboBox();