annotate lisp/gtk-package.el @ 581:5c09e1d634a3

[xemacs-hg @ 2001-05-26 12:27:47 by ben] rewrite warning output so that it doesn't happen by default -- you should only get warnings when something is actively wrong, not just because a feature is not present.
author ben
date Sat, 26 May 2001 12:27:47 +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)))