pub unsafe trait NSComboBoxCellDataSource: NSObjectProtocol {
// Provided methods
unsafe fn numberOfItemsInComboBoxCell(
&self,
combo_box_cell: &NSComboBoxCell
) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn comboBoxCell_objectValueForItemAtIndex(
&self,
combo_box_cell: &NSComboBoxCell,
index: NSInteger
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn comboBoxCell_indexOfItemWithStringValue(
&self,
combo_box_cell: &NSComboBoxCell,
string: &NSString
) -> NSUInteger
where Self: Sized + Message { ... }
unsafe fn comboBoxCell_completedString(
&self,
combo_box_cell: &NSComboBoxCell,
uncompleted_string: &NSString
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSComboBoxCell
only.Provided Methods§
unsafe fn numberOfItemsInComboBoxCell( &self, combo_box_cell: &NSComboBoxCell ) -> NSInteger
Available on crate features
NSActionCell
and NSCell
and NSTextFieldCell
only.unsafe fn comboBoxCell_objectValueForItemAtIndex( &self, combo_box_cell: &NSComboBoxCell, index: NSInteger ) -> Retained<AnyObject>
Available on crate features
NSActionCell
and NSCell
and NSTextFieldCell
only.unsafe fn comboBoxCell_indexOfItemWithStringValue( &self, combo_box_cell: &NSComboBoxCell, string: &NSString ) -> NSUInteger
Available on crate features
NSActionCell
and NSCell
and NSTextFieldCell
only.unsafe fn comboBoxCell_completedString( &self, combo_box_cell: &NSComboBoxCell, uncompleted_string: &NSString ) -> Option<Retained<NSString>>
Available on crate features
NSActionCell
and NSCell
and NSTextFieldCell
only.