view lisp/gtk-package.el @ 1669:c5f86842283a

[xemacs-hg @ 2003-09-07 19:46:30 by adrian] [A21.5SR21.4] [PATCH] xemacs-21.5: Klaus Berndl's shrink-to-fit fix for `diplay-buffer' -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2003-09-07 Adrian Aichner <adrian@xemacs.org> * window-xemacs.el (display-buffer): Fix for `shrink-to-fit' by Klaus Berndl, calling `shrink-window-if-larger-than-buffer' when displaying buffer in question.
author adrian
date Sun, 07 Sep 2003 19:46:32 +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)))