From: Andreas Monzner Date: Mon, 30 Jul 2007 20:47:43 +0000 (+0000) Subject: add possibility to set a callable check function X-Git-Tag: 2.6.0~2011 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/a2ad8bed55ff15188ce37107c3d44945cd2df0a7 add possibility to set a callable check function --- 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: