NSTextFinderBarContainer

Trait NSTextFinderBarContainer 

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

Provided Methods§

Source

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

Available on crate features NSResponder and NSView only.
Source

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

Available on crate features NSResponder and NSView only.

Setter for findBarView.

Source

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

Source

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

Setter for isFindBarVisible.

Source

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

Source

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.