ImplButton

Trait ImplButton 

Source
pub trait ImplButton: ImplView {
    // Required methods
    fn as_label_button(&self) -> Option<LabelButton>;
    fn set_state(&self, state: ButtonState);
    fn state(&self) -> ButtonState;
    fn set_ink_drop_enabled(&self, enabled: c_int);
    fn set_tooltip_text(&self, tooltip_text: Option<&CefString>);
    fn set_accessible_name(&self, name: Option<&CefString>);

    // Provided method
    fn get_raw(&self) -> *mut _cef_button_t { ... }
}

Required Methods§

Source

fn as_label_button(&self) -> Option<LabelButton>

See _cef_button_t::as_label_button for more documentation.

Source

fn set_state(&self, state: ButtonState)

See _cef_button_t::set_state for more documentation.

Source

fn state(&self) -> ButtonState

See _cef_button_t::get_state for more documentation.

Source

fn set_ink_drop_enabled(&self, enabled: c_int)

See _cef_button_t::set_ink_drop_enabled for more documentation.

Source

fn set_tooltip_text(&self, tooltip_text: Option<&CefString>)

See _cef_button_t::set_tooltip_text for more documentation.

Source

fn set_accessible_name(&self, name: Option<&CefString>)

See _cef_button_t::set_accessible_name for more documentation.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§