Trait NSTextFinderBarContainer

Source
pub unsafe trait NSTextFinderBarContainer: NSObjectProtocol {
    // Provided methods
    unsafe fn findBarView(
        &self,
        mtm: MainThreadMarker,
    ) -> Option<Retained<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<Retained<NSView>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextFinder only.
Expand description

Provided Methods§

Source

unsafe fn findBarView(&self, mtm: MainThreadMarker) -> Option<Retained<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.

Setter for findBarView.

Source

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

Source

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

Setter for isFindBarVisible.

Source

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

Source

unsafe fn contentView(&self, mtm: MainThreadMarker) -> Option<Retained<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. 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 NSTextFinderBarContainer

Implementations on Foreign Types§

Source§

impl<T> NSTextFinderBarContainer for ProtocolObject<T>

Implementors§

Source§

impl NSTextFinderBarContainer for NSScrollView

Available on crate feature NSScrollView only.