Trait NSComboBoxDelegate

Source
pub unsafe trait NSComboBoxDelegate: NSTextFieldDelegate + MainThreadOnly {
    // Provided methods
    unsafe fn comboBoxWillPopUp(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn comboBoxWillDismiss(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn comboBoxSelectionDidChange(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn comboBoxSelectionIsChanging(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
}
Available on crate features NSComboBox and NSControl and NSTextField only.
Expand description

Provided Methods§

Source

unsafe fn comboBoxWillPopUp(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn comboBoxWillDismiss(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn comboBoxSelectionDidChange(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn comboBoxSelectionIsChanging(&self, notification: &NSNotification)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSComboBoxDelegate

Source§

const NAME: &'static str = "NSComboBoxDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSComboBoxDelegate

Implementations on Foreign Types§

Source§

impl<T> NSComboBoxDelegate for ProtocolObject<T>

Implementors§