view lisp/gtk-package.el @ 2118:e28998a020ec

[xemacs-hg @ 2004-06-07 21:50:57 by adrian] xemacs-21.5: Cleanup sync to 21.4 and typo fixes for lisp/cus-edit.el -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2004-06-07 Adrian Aichner <adrian@xemacs.org> * cus-edit.el (custom-browse-visibility): Typo fix. * cus-edit.el (custom-variable-value-create): Ditto. * cus-edit.el (custom-save-variables): Simply use push instead of make-list and nconc, as suggested by Hrvoje and already used in 21.4. * cus-edit.el (custom-save-faces): Ditto.
author adrian
date Mon, 07 Jun 2004 21:50:57 +0000
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)))