Mercurial > hg > xemacs-beta
annotate tests/gtk/gtk-extra-test.el @ 1692:6265c9c31f53
[xemacs-hg @ 2003-09-18 05:13:54 by youngs]
2003-09-18 Steve Youngs <youngs@xemacs.org>
* configure: Re-generate after Martin's configure.in patch.
2003-09-13 Martin Buchholz <martin@xemacs.org>
* configure.in (OS_RELEASE): Add support for SunOS 5.10.
On current OSes produced by Sun, `uname -r' prints "5.9".
It seems likely that on future OSes, `uname -r' will print "5.10".
We need to accept multi-digit release numbers.
2003-09-13 Martin Buchholz <martin@xemacs.org>
* s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
author | youngs |
---|---|
date | Thu, 18 Sep 2003 05:14:00 +0000 |
parents | 0784d089fdc9 |
children | db7068430402 |
rev | line source |
---|---|
462 | 1 (require 'gtk-extra) |
2 | |
3 (gtk-define-test | |
4 "Color Combo" extra color-combo nil | |
5 (let ((combo (gtk-color-combo-new))) | |
6 (gtk-box-pack-start window combo nil nil 0))) | |
7 | |
8 (gtk-define-test | |
9 "Directory Tree" extra dirtree nil | |
10 (let ((dir (gtk-dir-tree-new))) | |
11 (gtk-box-pack-start window dir nil nil 0) | |
12 (gtk-dir-tree-open-dir dir "/"))) | |
13 | |
14 (gtk-define-test | |
15 "File List" extra filelist nil | |
16 (let ((scrolled (gtk-scrolled-window-new nil nil)) | |
17 (list (gtk-file-list-new 32 2 "/"))) | |
18 (gtk-scrolled-window-add-with-viewport scrolled list) | |
19 (put scrolled 'height 200) | |
20 (gtk-box-pack-start window scrolled t t 0))) | |
21 | |
22 (gtk-define-test | |
23 "Font Combo" extra fontcombo nil | |
24 (let ((fc (gtk-font-combo-new))) | |
25 (gtk-box-pack-start window fc t t 0))) | |
26 |