Trait objc2_app_kit::NSRuleEditorDelegate
source · pub unsafe trait NSRuleEditorDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn ruleEditor_numberOfChildrenForCriterion_withRowType(
&self,
editor: &NSRuleEditor,
criterion: Option<&AnyObject>,
row_type: NSRuleEditorRowType
) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn ruleEditor_child_forCriterion_withRowType(
&self,
editor: &NSRuleEditor,
index: NSInteger,
criterion: Option<&AnyObject>,
row_type: NSRuleEditorRowType
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn ruleEditor_displayValueForCriterion_inRow(
&self,
editor: &NSRuleEditor,
criterion: &AnyObject,
row: NSInteger
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn ruleEditor_predicatePartsForCriterion_withDisplayValue_inRow(
&self,
editor: &NSRuleEditor,
criterion: &AnyObject,
value: &AnyObject,
row: NSInteger
) -> Option<Retained<NSDictionary<NSRuleEditorPredicatePartKey, AnyObject>>>
where Self: Sized + Message { ... }
unsafe fn ruleEditorRowsDidChange(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
}
Available on crate feature
NSRuleEditor
only.Provided Methods§
unsafe fn ruleEditor_numberOfChildrenForCriterion_withRowType( &self, editor: &NSRuleEditor, criterion: Option<&AnyObject>, row_type: NSRuleEditorRowType ) -> NSInteger
Available on crate features
NSControl
and NSResponder
and NSView
only.unsafe fn ruleEditor_child_forCriterion_withRowType( &self, editor: &NSRuleEditor, index: NSInteger, criterion: Option<&AnyObject>, row_type: NSRuleEditorRowType ) -> Retained<AnyObject>
Available on crate features
NSControl
and NSResponder
and NSView
only.unsafe fn ruleEditor_displayValueForCriterion_inRow( &self, editor: &NSRuleEditor, criterion: &AnyObject, row: NSInteger ) -> Retained<AnyObject>
Available on crate features
NSControl
and NSResponder
and NSView
only.unsafe fn ruleEditor_predicatePartsForCriterion_withDisplayValue_inRow( &self, editor: &NSRuleEditor, criterion: &AnyObject, value: &AnyObject, row: NSInteger ) -> Option<Retained<NSDictionary<NSRuleEditorPredicatePartKey, AnyObject>>>
Available on crate features
NSControl
and NSResponder
and NSView
only.