view lisp/gtk-package.el @ 2949:4b7e0ff1958a

[xemacs-hg @ 2005-09-25 21:40:17 by adrian] xemacs-21.5-clean: Fix variable reference in lispref/compile.texi -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2005-09-25 Adrian Aichner <adrian@xemacs.org> * lispref/compile.texi (Compilation Options): Supply missing argument to @var{}, using same SYMBOL as in variable docstring of `byte-compile-print-gensym'.
author adrian
date Sun, 25 Sep 2005 21:40:19 +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)))