wxStaticText

wxStaticText

This control is used for creating a static label. The text in the label will be automatically refreshed (as opposed to using wx_puts).

Creation Parameters
Functions/Procedures
Supertopics

wxStaticText

[proc]
set_label
( atom static_label, sequence text )

Category: wxStaticText

Sets the static text label and updates the controls size to exactly fit the label unless the control has wxST_NO_AUTORESIZE flag.


wxStaticText

[proc]
wrap
( atom text, atom width )

Category: wxStaticText

This function wraps the controls label so that each of its lines becomes at most width pixels wide if possible (the lines are broken at words boundaries so it might not be the case if words are too long). If width is negative, no wrapping is done.