1 (gtk-import-function nil "gdk_flush")
3 (defun gtk-describe-enumerations ()
4 "Show a list of all GtkEnum or GtkFlags objects available from lisp."
6 (set-buffer (get-buffer-create "*GTK Enumerations*"))
8 (let ((separator (make-string (- (window-width) 3) ?-)))
9 (maphash (lambda (key val)
14 (gtk-type-name key)) "\n")
16 (insert (format "\t%40s == %d\n" (car cell) (cdr cell)))) val))
17 gtk-enumeration-info))
18 (goto-char (point-min))
19 (display-buffer (current-buffer)))