diff options
author | treectrl <treectrl> | 2005-07-12 03:38:38 (GMT) |
---|---|---|
committer | treectrl <treectrl> | 2005-07-12 03:38:38 (GMT) |
commit | 6a0bb30a142ee32515f0dd7d1ca5845529aecc46 (patch) | |
tree | bbf18c08e5e87fe9fcf58bb321eb7ec1e6ece708 /generic | |
parent | 3e23838ce8c67b89fb97e6b03bb08938d0409afa (diff) | |
download | tktreectrl-6a0bb30a142ee32515f0dd7d1ca5845529aecc46.zip tktreectrl-6a0bb30a142ee32515f0dd7d1ca5845529aecc46.tar.gz tktreectrl-6a0bb30a142ee32515f0dd7d1ca5845529aecc46.tar.bz2 |
Declare TreeStyle_GetImage and TreeStyle_SetImage.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTreeCtrl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkTreeCtrl.h b/generic/tkTreeCtrl.h index 2f9a7c9..7650c30 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.37 2005/07/07 02:46:39 treectrl Exp $ + * RCS: @(#) $Id: tkTreeCtrl.h,v 1.38 2005/07/12 03:38:38 treectrl Exp $ */ #include "tkPort.h" @@ -468,8 +468,10 @@ extern int TreeElement_FromObj(TreeCtrl *tree, Tcl_Obj *obj, TreeElement *elemPt extern int TreeElement_IsType(TreeCtrl *tree, TreeElement elem_, CONST char *type); extern int TreeStyle_FromObj(TreeCtrl *tree, Tcl_Obj *obj, TreeStyle *stylePtr); extern Tcl_Obj *TreeStyle_ToObj(TreeStyle style_); +extern Tcl_Obj *TreeStyle_GetImage(TreeCtrl *tree, TreeStyle style_); extern Tcl_Obj *TreeStyle_GetText(TreeCtrl *tree, TreeStyle style_); -extern void TreeStyle_SetText(TreeCtrl *tree, TreeItem item, TreeItemColumn column, TreeStyle style_, Tcl_Obj *textObj); +extern int TreeStyle_SetImage(TreeCtrl *tree, TreeItem item, TreeItemColumn column, TreeStyle style_, Tcl_Obj *textObj); +extern int TreeStyle_SetText(TreeCtrl *tree, TreeItem item, TreeItemColumn column, TreeStyle style_, Tcl_Obj *textObj); extern int TreeStyle_FindElement(TreeCtrl *tree, TreeStyle style_, TreeElement elem_, int *index); extern TreeStyle TreeStyle_NewInstance(TreeCtrl *tree, TreeStyle master); extern int TreeStyle_ElementActual(TreeCtrl *tree, TreeStyle style_, int state, Tcl_Obj *elemObj, Tcl_Obj *obj); |