1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <blackbox name="OutputText" widget>
5 <author>laurent.guigues at creatis.insa-lyon.fr</author>
6 <description>Text zone to be inserted into a window (wxStaticText)</description>
9 <input name="Title" type="std::string" description="Title prepended to the text"/>
10 <input name="In" type="std::string" description="Text"/>
13 bbSetOutputWidget( new wxStaticText ( bbGetWxParent() , -1 , _T("") ) );
19 if (bbGetInputTitle()!="")
21 msg = bbGetInputTitle()+": " + bbGetInputIn();
27 ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) );