Return value semantics of ofNotifyEvent


#1

What’s the meaning of the bool return value of ofNotifyEvent? Its not in the documentation.

I want to have a listener that overrules the calling of ofxPanel::loadFromFile, in order to add some actions succeeding the loading.

bool ofxPanel::setValue(float mx, float my, bool bCheck){
        ...
	if( bCheck ){
		if( b.inside(mx, my) ){
                        ...
			if(loadBox.inside(mx, my)) {
				if(!ofNotifyEvent(loadPressedE,this)){
					loadFromFile(filename);
				}

I temporarily disabled (patched) the code above and removed the loadFromFile statement, as a workaround.

Thanks in advance, Patrick