pub fn input_method_hints(&self) -> InputMethodHints {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).input_method_hints)(obj_data);
            let ret_val = InputMethodHints::from_bits_truncate(ret_val);
            ret_val
        }
    }
///
/// Initializes the *painter* pen, background and font to the same as
/// the given widget's. This function is called automatically when the
/// painter is opened on a QWidget.
///
/// This event handler, for event *event,* can be reimplemented in a
/// subclass to receive Input Method composition events. This handler
/// is called when the state of the input method changes.
///
/// Note that when creating custom text editing widgets, the
/// Qt::WA_InputMethodEnabled window attribute must be set explicitly
/// (using the setAttribute() function) in order to receive input
/// method events.
///
/// The default implementation calls event->ignore(), which rejects the
/// Input Method event. See the [QInputMethodEvent](QInputMethodEvent)
/// documentation for more
/// details.
///
/// **See also:** [`event()`]
/// [`InputMethodEvent`]
///
/// This is only relevant for input widgets. It is used by
/// the input method to retrieve hints as to how the input method
/// should operate. For example, if the Qt::ImhFormattedNumbersOnly flag
/// is set, the input method may change its visual components to reflect
/// that only numbers can be entered.
///
/// **Warning**: Some widgets require certain flags in order to work as
/// intended. To set a flag, do `w->setInputMethodHints(w->inputMethodHints()|f)`
/// instead of `w->setInputMethodHints(f)` .
///
/// **Note**: The flags are only hints, so the particular input method
/// implementation is free to ignore them. If you want to be
/// sure that a certain type of characters are entered,
/// you should also set a QValidator on the widget.
///
/// The default value is Qt::ImhNone.
///
/// **See also:** [`input_method_query()`]
Initializes the *painter* pen, background and font to the same as
the given widget's. This function is called automatically when the
painter is opened on a QWidget.

This event handler, for event *event,* can be reimplemented in a
subclass to receive Input Method composition events. This handler
is called when the state of the input method changes.

Note that when creating custom text editing widgets, the
Qt::WA_InputMethodEnabled window attribute must be set explicitly
(using the setAttribute() function) in order to receive input
method events.

The default implementation calls event->ignore(), which rejects the
Input Method event. See the [QInputMethodEvent](QInputMethodEvent)
documentation for more
details.

See also:** [`event()`]
[`InputMethodEvent`]

This is only relevant for input widgets. It is used by
the input method to retrieve hints as to how the input method
should operate. For example, if the Qt::ImhFormattedNumbersOnly flag
is set, the input method may change its visual components to reflect
that only numbers can be entered.

Warning**: Some widgets require certain flags in order to work as
intended. To set a flag, do `w->setInputMethodHints(w->inputMethodHints()|f)`
instead of `w->setInputMethodHints(f)` .

Note**: The flags are only hints, so the particular input method
implementation is free to ignore them. If you want to be
sure that a certain type of characters are entered,
you should also set a QValidator on the widget.

The default value is Qt::ImhNone.


Initializes the * painter * pen background and font to the same as the given widget ' s . This function is called automatically when the painter is opened on a QWidget . This event handler for event * event * can be reimplemented in a subclass to receive Input Method composition events . This handler is called when the state of the input method changes . Note that when creating custom text editing widgets the Qt :: WA_InputMethodEnabled window attribute must be set explicitly ( using the setAttribute () function ) in order to receive input method events . The default implementation calls event - > ignore () which rejects the Input Method event . See the [ QInputMethodEvent ] ( QInputMethodEvent ) documentation for more details . See also : ** [ ` event () ` ] [ ` InputMethodEvent ` ] This is only relevant for input widgets . It is used by the input method to retrieve hints as to how the input method should operate . For example if the Qt :: ImhFormattedNumbersOnly flag is set the input method may change its visual components to reflect that only numbers can be entered . Warning ** : Some widgets require certain flags in order to work as intended . To set a flag do ` w - > setInputMethodHints ( w - > inputMethodHints () |f ) ` instead of ` w - > setInputMethodHints ( f ) ` . Note ** : The flags are only hints so the particular input method implementation is free to ignore them . If you want to be sure that a certain type of characters are entered you should also set a QValidator on the widget . The default value is Qt :: ImhNone .
pub fn input_method_hints(&self) -> InputMethodHints {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).input_method_hints)(obj_data);
            let ret_val = InputMethodHints::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn input_method_hints ( & self ) -> InputMethodHints { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . input_method_hints ) ( obj_data ) ; let ret_val = InputMethodHints :: from_bits_truncate ( ret_val ) ; ret_val } }
Initializes the *painter* pen, background and font to the same as
the given widget's.
Initializes the * painter * pen background and font to the same as the given widget ' s .
&self
&self