Mercurial > hg > xemacs-beta
annotate lisp/gtk.el @ 824:0cce4fee510b
[xemacs-hg @ 2002-05-01 08:25:40 by youngs]
2002-05-01 Steve Youngs <youngs@xemacs.org>
* package-get.el (package-get-update-base-entry): Remove code to
add package entries into custom.
(package-get-custom-groups): Remove.
(package-get-custom): Ditto.
(package-get-custom-add-entry): Ditto.
2002-04-29 Steve Youngs <youngs@xemacs.org>
* menubar-items.el (default-menubar): Remove entry for managing
packages via custom.
2002-05-01 Steve Youngs <youngs@xemacs.org>
* xemacs/packages.texi (Automatically): Don't mention "Options"
menu.
(Installing Packages): Don't mention getting list of packages via
customize.
author | youngs |
---|---|
date | Wed, 01 May 2002 08:25:52 +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))) |