NSComboBoxDelegate

Trait NSComboBoxDelegate 

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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§