From a2ad8bed55ff15188ce37107c3d44945cd2df0a7 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 30 Jul 2007 20:47:43 +0000 Subject: [PATCH] add possibility to set a callable check function --- lib/gui/elistboxcontent.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index e335bc2e..d3df3b14 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -62,6 +62,7 @@ private: class eListboxPythonMultiContent: public eListboxPythonStringContent { ePyObject m_buildFunc; + ePyObject m_callableFunc; eRect m_selection_clip; gRegion m_temp_clip; public: @@ -73,6 +74,7 @@ public: void setFont(int fnt, gFont *fnt); void setBuildFunc(SWIG_PYOBJECT(ePyObject) func); + void setCallableFunc(SWIG_PYOBJECT(ePyObject) func); void setItemHeight(int height); void setSelectionClip(eRect &rect, bool update=false); private: -- 2.30.2