annotate lisp/gtk-package.el @ 2931:0d5322818981

[xemacs-hg @ 2005-09-14 05:28:38 by stephent] XEmacs 21.5.22 "cucumber" is released.
author stephent
date Wed, 14 Sep 2005 05:31:02 +0000
parents 7039e6323819
children db7068430402
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1 ;; A GTK version of package-ui.el
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
2
502
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
3 (globally-declare-fboundp
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
4 '(gtk-window-new
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
5 gtk-hbox-new gtk-container-add gtk-widget-show-all))
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
6
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
7 (require 'package-get)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
8 (require 'package-ui)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
9
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
10 (defun package-gtk-edit-sites ()
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
11 (let ((window (gtk-window-new 'toplevel))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
12 (box (gtk-hbox-new nil 5)))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
13 (gtk-container-add window box)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
14 (gtk-widget-show-all window)))