Mercurial > hg > xemacs-beta
annotate lisp/gtk.el @ 4092:9c0151d05116
[xemacs-hg @ 2007-08-02 06:33:04 by michaels]
2007-07-31 Mike Sperber <mike@xemacs.org>
* configure.ac: Don't divert `share' to `lib' for datadir.
Also, define AC_DATAROOTDIR_CHECKED to shut up autoconf.
2007-07-31 Mike Sperber <mike@xemacs.org>
* find-paths.el (paths-for-each-site-directory):
(paths-find-site-directory):
(paths-find-site-directories):
(paths-for-each-version-directory):
(paths-find-version-directory):
(paths-find-version-directories): Add `arch-dependent-p' argument
to distinguish between `lib' and `share'.
(paths-find-architecture-directory): Follow above change.
* packages.el (packages-find-installation-package-directories): Ditto.
* setup-paths.el (paths-find-site-lisp-directory):
(paths-find-site-module-directory):
(paths-find-lisp-directory):
(paths-find-mule-lisp-directory):
(paths-find-module-directory):
(paths-find-data-directory): Ditto.
author | michaels |
---|---|
date | Thu, 02 Aug 2007 06:33:59 +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))) |