Mercurial > hg > xemacs-beta
annotate lisp/gtk.el @ 2106:e0cad74058ab
[xemacs-hg @ 2004-05-31 23:41:30 by adrian]
xemacs-21.5: Handle xemacs_extra_name in xemacs.mak, improve copy
-------------------- ChangeLog entries follow: --------------------
nt/ChangeLog addition:
2004-06-01 Adrian Aichner <adrian@xemacs.org>
* xemacs.mak: Don't echo DEL command. Use COPYCMD everywhere.
Remove /r switch from COPY and COPYDIR, as environment variable
COPYCMD takes care of this.
* xemacs.mak (COPYCMD): New. Used to initialize environment
variable by same name.
* xemacs.mak (TEMACS_CPP_FLAGS_NO_CFLAGS): Handle
xemacs_extra_name (CVS date stamp).
author | adrian |
---|---|
date | Mon, 31 May 2004 23:41:30 +0000 |
parents | 7039e6323819 |
children | b4f4e0cc90f1 |
rev | line source |
---|---|
502 | 1 (globally-declare-fboundp |
2 '(gtk-import-function-internal gtk-call-function gtk-type-name)) | |
3 | |
4 (globally-declare-boundp | |
5 '(gtk-enumeration-info)) | |
6 | |
462 | 7 (gtk-import-function nil "gdk_flush") |
8 | |
9 (defun gtk-describe-enumerations () | |
10 "Show a list of all GtkEnum or GtkFlags objects available from lisp." | |
11 (interactive) | |
12 (set-buffer (get-buffer-create "*GTK Enumerations*")) | |
13 (erase-buffer) | |
14 (let ((separator (make-string (- (window-width) 3) ?-))) | |
15 (maphash (lambda (key val) | |
16 (insert | |
17 separator "\n" | |
18 (if (stringp key) | |
19 key | |
20 (gtk-type-name key)) "\n") | |
21 (mapc (lambda (cell) | |
22 (insert (format "\t%40s == %d\n" (car cell) (cdr cell)))) val)) | |
23 gtk-enumeration-info)) | |
24 (goto-char (point-min)) | |
25 (display-buffer (current-buffer))) |