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 ( parent, /*bbGetWxParent(),*/ -1 , _T("") ) );
18 wxStaticText* w = (wxStaticText*)bbGetOutputWidget();
22 if (bbGetInputTitle()!="")
24 msg = bbGetInputTitle()+": " + bbGetInputIn();
30 w->SetLabel( bbtk::std2wx( msg ) );
38 </PRE></defaultValues>