add possibility to set a callable check function
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 30 Jul 2007 20:47:43 +0000 (20:47 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 30 Jul 2007 20:47:43 +0000 (20:47 +0000)
lib/gui/elistboxcontent.h

index e335bc2eed4a7c735c75f4537bb09bd1ac9a59e3..d3df3b143db3210b971013ada5d998754fc94377 100644 (file)
@@ -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: