Trait objc2_app_kit::NSTextFinderBarContainer

source ·
pub unsafe trait NSTextFinderBarContainer: NSObjectProtocol {
    // Provided methods
    unsafe fn findBarView(&self, mtm: MainThreadMarker) -> Option<Id<NSView>>
       where Self: Sized + Message { ... }
    unsafe fn setFindBarView(&self, find_bar_view: Option<&NSView>)
       where Self: Sized + Message { ... }
    unsafe fn isFindBarVisible(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setFindBarVisible(&self, find_bar_visible: bool)
       where Self: Sized + Message { ... }
    unsafe fn findBarViewDidChangeHeight(&self)
       where Self: Sized + Message { ... }
    unsafe fn contentView(&self, mtm: MainThreadMarker) -> Option<Id<NSView>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextFinder only.

Provided Methods§

source

unsafe fn findBarView(&self, mtm: MainThreadMarker) -> Option<Id<NSView>>
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn setFindBarView(&self, find_bar_view: Option<&NSView>)
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn isFindBarVisible(&self) -> bool
where Self: Sized + Message,

source

unsafe fn setFindBarVisible(&self, find_bar_visible: bool)
where Self: Sized + Message,

source

unsafe fn findBarViewDidChangeHeight(&self)
where Self: Sized + Message,

source

unsafe fn contentView(&self, mtm: MainThreadMarker) -> Option<Id<NSView>>
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSTextFinderBarContainer

source§

const NAME: &'static str = "NSTextFinderBarContainer"

The name of the Objective-C protocol that this type represents.
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 NSTextFinderBarContainer

Implementations on Foreign Types§

source§

impl<T> NSTextFinderBarContainer for ProtocolObject<T>

Implementors§

source§

impl NSTextFinderBarContainer for NSScrollView

Available on crate features NSResponder and NSView and NSScrollView only.