#include <WScom.h>
#include <WSCfunctionList.h>
#include <WSCbase.h>
//----------------------------------------------------------
//Function for the event procedure
//----------------------------------------------------------
#include <WSCtreeList.h>
extern WSCtreeList* newlist_003;

void btnep2(WSCbase* object){
  newlist_003->setProperty(WSNdataSource,WS_DATA_SOURCE_NONE);

  // if WSNuseIcon == True
  // icon_file_name,indent_level,open/close,item1\n
  // icon_file_name,indent_level,open/close,item2\n
  //               ,indent_level,open/close,item3\n //use icon of WSCiconPixmap
  // ..

  // if WSNuseIcon == False
  // indent_level,open/close,item1\n
  // indent_level,open/close,item2\n
  // ..

  newlist_003->setProperty(WSNdata,",0,1,data1\n,1,1,data2\n$(WSDIR)/sys/pixmaps/bi16.xpm,2,1,data3\n,3,1,data4");

}
static WSCfunctionRegister  op("btnep2",(void*)btnep2);
