pub fn placeholder_text(&self) -> String {
        let (obj_data, funcs) = self.get_line_edit_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).placeholder_text)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
///
/// Setting this property makes the line edit display a grayed-out
/// placeholder text as long as the line edit is empty.
///
/// Normally, an empty line edit shows the placeholder text even
/// when it has focus. However, if the content is horizontally
/// centered, the placeholder text is not displayed under
/// the cursor when the line edit has focus.
///
/// By default, this property contains an empty string.
///
/// **See also:** [`text()`]
Setting this property makes the line edit display a grayed-out
placeholder text as long as the line edit is empty.

Normally, an empty line edit shows the placeholder text even
when it has focus. However, if the content is horizontally
centered, the placeholder text is not displayed under
the cursor when the line edit has focus.

By default, this property contains an empty string.


Setting this property makes the line edit display a grayed - out placeholder text as long as the line edit is empty . Normally an empty line edit shows the placeholder text even when it has focus . However if the content is horizontally centered the placeholder text is not displayed under the cursor when the line edit has focus . By default this property contains an empty string .
pub fn placeholder_text(&self) -> String {
        let (obj_data, funcs) = self.get_line_edit_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).placeholder_text)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn placeholder_text ( & self ) -> String { let ( obj_data , funcs ) = self . get_line_edit_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . placeholder_text ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Setting this property makes the line edit display a grayed-out
placeholder text as long as the line edit is empty.
Setting this property makes the line edit display a grayed - out placeholder text as long as the line edit is empty .
&self
&self