diff options
author | hobbs2 <hobbs2> | 2006-08-16 00:45:20 (GMT) |
---|---|---|
committer | hobbs2 <hobbs2> | 2006-08-16 00:45:20 (GMT) |
commit | 0487a02c949ad99b81d824e31ee6444a71c19597 (patch) | |
tree | a4770687a1a386168e1ff0aa7bc9e28e1a9d3eb2 /generic/tkTreeCtrl.h | |
parent | 010f205f7179f3277b87979dff6b0dafe76a8e24 (diff) | |
download | tktreectrl-0487a02c949ad99b81d824e31ee6444a71c19597.zip tktreectrl-0487a02c949ad99b81d824e31ee6444a71c19597.tar.gz tktreectrl-0487a02c949ad99b81d824e31ee6444a71c19597.tar.bz2 |
* generic/tkTreeDisplay.c (Tree_Display): Allow Tree_DeselectHidden
* generic/tkTreeItem.c (Item_Configure): to be deferred to next
* generic/tkTreeCtrl.h: redraw by calling
Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly
improves performance of multiple item visibility changes.
Diffstat (limited to 'generic/tkTreeCtrl.h')
-rw-r--r-- | generic/tkTreeCtrl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkTreeCtrl.h b/generic/tkTreeCtrl.h index bd41477..3c2c579 100644 --- a/generic/tkTreeCtrl.h +++ b/generic/tkTreeCtrl.h @@ -7,7 +7,7 @@ * Copyright (c) 2002-2003 Christian Krone * Copyright (c) 2003 ActiveState Corporation * - * RCS: @(#) $Id: tkTreeCtrl.h,v 1.42 2005/09/21 22:40:27 treectrl Exp $ + * RCS: @(#) $Id: tkTreeCtrl.h,v 1.43 2006/08/16 00:45:21 hobbs2 Exp $ */ #include "tkPort.h" @@ -612,6 +612,7 @@ extern void Tree_DrawTiledImage(TreeCtrl *tree, Drawable drawable, Tk_Image imag #define DINFO_UPDATE_SCROLLBAR_Y 0x0800 #define DINFO_REDO_INCREMENTS 0x1000 #define DINFO_REDO_COLUMN_WIDTH 0x2000 +#define DINFO_REDO_SELECTION 0x4000 extern void Tree_DInfoChanged(TreeCtrl *tree, int flags); extern void Tree_TheWorldHasChanged(Tcl_Interp *interp); |