1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
David Ponce
37d2ef66f7 (tree-widget-themes-load-path)
(tree-widget-themes-directory, tree-widget-theme): Doc fix.
2006-03-14 10:20:51 +00:00
David Ponce
a32703cbe0 Handle themes across all occurrences of the main
themes sub-directory found in tree-widget-themes-load-path.
(tree-widget-themes-directory, tree-widget-theme): Doc fix.
(tree-widget--locate-sub-directory): Return all occurrences.
(tree-widget-themes-path): New function.  Replace
tree-widget-themes-directory, and return a list of directories.
(tree-widget-set-parent-theme)
(tree-widget-lookup-image): Use it.
2006-03-13 07:49:31 +00:00
David Ponce
f35262f952 Update Commentary header.
(tree-widget-theme-name): Ignore parent themes.
(tree-widget-set-parent-theme): New function.
(tree-widget-set-theme): Use it.
(tree-widget-set-image-properties): Move definition.  Does nothing
if image properties have already been set.
(tree-widget-image-properties): Move definition.  Receive an image
name.  Set the :pointer property.
(tree-widget-lookup-image): Doc fix.  Search in parent themes.
Don't set the :pointer image property.
(tree-widget-convert-widget): New function.  Handle :dynargs
compatibility here.
(tree-widget): Use it to :convert-widget.  Add the :expander-p
predicate to control when the :expander function is entered.
Thanks to Ken Manheimer <ken.manheimer@gmail.com> for the idea.
(tree-widget-value-create): Handle :expander-p.  widget-apply
:expander.
(tree-widget-expander-p): New function.  Default value of the
:expander-p property.
2006-03-07 06:41:45 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
David Ponce
42fbd80885 (tree-widget-button-click): New function.
(tree-widget-button-keymap): Use it.
2005-10-18 11:30:18 +00:00
David Ponce
01c5577a87 (tree-widget-themes-load-path): New variable.
(tree-widget-themes-directory): Doc fix.
(tree-widget-image-formats) [Emacs]: Doc fix.
(tree-widget--locate-sub-directory): New function.
(tree-widget-themes-directory): Use it.
2005-09-30 06:28:53 +00:00
David Ponce
38d0d9879c (tree-widget-value-create): Fix previous change. 2005-09-22 09:54:54 +00:00
David Ponce
4ff094a826 (tree-widget-value-create): Save the converted tree :node widget. 2005-09-19 09:52:32 +00:00
David Ponce
0cfce69f6e Update Commentary header.
(tree-widget-theme): Doc fix.
(tree-widget-space-width): New option.
(tree-widget-image-properties): Look up in the default theme too.
(tree-widget--cursors): Only for images with arrow pointer shape.
(tree-widget-lookup-image): Pointer shape is hand by default.
(tree-widget-icon): Generic icon widget renamed from
`tree-widget-control'.
(tree-widget-*-icon): Rename from `tree-widget-*-control' and
derive from `tree-widget-icon'.
(tree-widget-handle): Improve default look and feel of the text
representation.
(tree-widget): Rename :*-control properties to :*-icon properties.
Add :action and :help-echo properties.
(tree-widget-after-toggle-functions): Move.
(tree-widget-close-node, tree-widget-open-node): Remove.
(tree-widget-before-create-icon-functions): New hook.
(tree-widget-value-create): Update to allow customization of icons
and nodes at run-time via that new hook.
(tree-widget-icon-create, tree-widget-leaf-node-icon-p)
(tree-widget-icon-action, tree-widget-icon-help-echo)
(tree-widget-action, tree-widget-help-echo): New functions.
2005-08-15 13:00:09 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
David Ponce
f2cb69d5a8 Improve header Commentary section.
(tree-widget) [defgroup]
(tree-widget-image-enable, tree-widget-themes-directory)
(tree-widget-theme, tree-widget-image-properties-emacs)
(tree-widget-image-properties-xemacs, tree-widget-create-image)
(tree-widget-image-formats, tree-widget-control)
(tree-widget-empty-control, tree-widget-leaf-control
(tree-widget-guide, tree-widget-end-guide, tree-widget-no-guide)
(tree-widget-handle, tree-widget-no-handle, tree-widget-p)
(tree-widget-keep, tree-widget-after-toggle-functions)
(tree-widget-open-node, tree-widget-close-node): Doc fix.
(tree-widget-open-control, tree-widget-close-control): Fix doc and
:help-echo message.
(tree-widget-set-theme): Doc fix.  Use `string-equal'.
(tree-widget-image-properties): Doc fix.  Clearer implementation.
(tree-widget--cursors): New constant.
(tree-widget-lookup-image): New function split from
`tree-widget-find-image'.  Clearer implementation.
(tree-widget-find-image): Use it.
(tree-widget-button-keymap): Use `set-keymap-parent'.
(tree-widget) [define-widget]: Use `widget-children-value-delete'.
Define the sub-widgets here.
(tree-widget-node): Check that :node is not a tree-widget.
(tree-widget-get-super, tree-widget-open-control)
(tree-widget-close-control, tree-widget-empty-control)
(tree-widget-leaf-control, tree-widget-guide)
(tree-widget-end-guide, tree-widget-no-guide, tree-widget-handle)
(tree-widget-no-handle, tree-widget-value-delete)
(tree-widget-map): Remove.
(tree-widget-children-value-save): Doc fix.  Simplified.
(tree-widget-value-create): Update according to previous changes.
2005-07-04 12:33:21 +00:00
David Ponce
66c20a8203 (tree-widget-value-create): Simplify last change. 2005-06-16 05:39:56 +00:00
David Ponce
61194c8d42 eval-and-compile inlined functions so they will
be available at run-time too.
(tree-widget-value-create): Fix last change.
2005-06-15 13:49:02 +00:00
David Ponce
3bcf793ca4 (tree-widget-super-format-handler)
(tree-widget-format-handler): Remove.
(tree-widget-value-create): Handle the :indent property.
2005-06-15 08:19:19 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Miles Bader
8491284371 Changes from arch/CVS synchronization 2004-05-14 17:47:06 +00:00
David Ponce
3212eb61c3 New file. 2004-05-14 10:03:23 +00:00