view lisp/gtk-package.el @ 4335:4ba890988caa

Within #'describe-function, say what commands are bound to. 2007-12-18 Aidan Kehoe <kehoea@parhasard.net> * help.el (describe-function-1): Give details of bindings for commands, taking into account global-window-system-map and global-tty-map when bindings differ compared to the global map.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 18 Dec 2007 21:28:12 +0100
parents 7039e6323819
children db7068430402
line wrap: on
line source

;; A GTK version of package-ui.el

(globally-declare-fboundp
 '(gtk-window-new
   gtk-hbox-new gtk-container-add gtk-widget-show-all))

(require 'package-get)
(require 'package-ui)

(defun package-gtk-edit-sites ()
  (let ((window (gtk-window-new 'toplevel))
	(box (gtk-hbox-new nil 5)))
    (gtk-container-add window box)
    (gtk-widget-show-all window)))