pub fn new(_ctx: &UI, text: &str) -> Label {
        unsafe {
            let c_string = CString::new(text.as_bytes().to_vec()).unwrap();
            Label::from_raw(ui_sys::uiNewLabel(c_string.as_ptr()))
        }
    }
/// Create a new label with the given string as its text.
/// Note that labels do not auto-wrap their text; they will expand as far as needed
/// to fit.
Create a new label with the given string as its text.
Note that labels do not auto-wrap their text; they will expand as far as needed
to fit.
Create a new label with the given string as its text . Note that labels do not auto - wrap their text ; they will expand as far as needed to fit .
pub fn new(_ctx: &UI, text: &str) -> Label {
        unsafe {
            let c_string = CString::new(text.as_bytes().to_vec()).unwrap();
            Label::from_raw(ui_sys::uiNewLabel(c_string.as_ptr()))
        }
    }
pub fn new ( _ctx : & UI , text : & str ) -> Label { unsafe { let c_string = CString :: new ( text . as_bytes ( ) . to_vec ( ) ) . unwrap ( ) ; Label :: from_raw ( ui_sys :: uiNewLabel ( c_string . as_ptr ( ) ) ) } }
Create a new label with the given string as its text.
Create a new label with the given string as its text .
_ctx
&UI
text
&str
_ctx
&UI
text
&str