view lisp/gtk-package.el @ 1454:38d0f093d818

[xemacs-hg @ 2003-05-04 01:04:36 by youngs] 2003-05-04 Steve Youngs <youngs@xemacs.org> * configure: Regenerate. 2003-05-04 Martin Buchholz <martin@xemacs.org> * configure.in: Don't look for Motif if it's already present in $x_includes and $x_libraries.
author youngs
date Sun, 04 May 2003 01:04:41 +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)))