Skip to main content

wxd_StaticText_GetLabel

Function wxd_StaticText_GetLabel 

Source
pub unsafe extern "C" fn wxd_StaticText_GetLabel(
    stext: *const wxd_StaticText_t,
    buffer: *mut c_char,
    buffer_len: usize,
) -> c_int
Expand description

Gets the label of the static text control. Returns the length of the label string (not including the null terminator) or -1 if stext is null. If buffer is not null and buffer_len is non-zero, copies up to buffer_len-1 characters into buffer, null-terminating it.