Skip to main content

SplitViewController

Struct SplitViewController 

Source
pub struct SplitViewController(/* private fields */);

Implementations§

Source§

impl SplitViewController

Source

pub fn retained(&self) -> R<Self>

Source§

impl SplitViewController

Source

pub fn split_view_ar(&self) -> Rar<SplitView>

Source

pub fn split_view(&self) -> R<SplitView>

Source

pub fn set_split_view(&mut self, val: &SplitView)

Source

pub fn split_view_items_ar(&self) -> Rar<Array<SplitViewItem>>

Source

pub fn split_view_items(&self) -> R<Array<SplitViewItem>>

Source

pub fn set_split_view_items(&mut self, val: &Array<SplitViewItem>)

Source

pub fn insert_split_view_item_at(&mut self, val: &SplitViewItem, index: isize)

Source

pub fn remove_split_view_item(&mut self, val: &SplitView)

Source

pub fn split_view_item_for_vc_ar( &self, vc: &ViewController, ) -> Option<Rar<SplitViewItem>>

Source

pub fn split_view_item_for_vc( &self, vc: &ViewController, ) -> Option<R<SplitViewItem>>

Source

pub fn min_thickness_for_inline_sidebars(&self) -> Float

Source

pub fn set_min_thickness_for_inline_sidebars(&mut self, val: Float)

Source

pub fn view_did_load(&mut self)

Source

pub fn split_view_can_collapse_subview( &self, split_view: &SplitView, subview: &View, ) -> bool

Source

pub fn split_view_should_hide_divider_at( &self, split_view: &SplitView, divider_index: isize, ) -> bool

Source

pub fn split_view_effective_rect_for_drawn_rect_of_divider_at( &self, split_view: &SplitView, proposed_effective_rect: Rect, draw_rect: Rect, divider_index: isize, ) -> Rect

Source

pub fn split_view_additional_effective_rect_of_divider_at( &self, split_view: &SplitView, divider_index: isize, ) -> Rect

Source§

impl SplitViewController

NSSplitViewControllerToggleSidebarAction

Source

pub fn toggle_sidebar(&mut self, sender: Option<&Id>)

Source

pub fn sel_toggle_sidebar() -> &'static Sel

@selector(toggleSidebar:) but dynamic use this function to check if object responds to selector

Source

pub fn toggle_inspector(&mut self, sender: Option<&Id>)

Source

pub fn sel_toggle_inspector() -> &'static Sel

@selector(toggleInspector:) but dynamic use this function to check if object responds to selector

Methods from Deref<Target = ViewController>§

Source

pub fn retained(&self) -> R<Self>

Source

pub fn title_ar(&self) -> Option<Rar<String>>

Source

pub fn title(&self) -> Option<R<String>>

Source

pub fn set_title_string(&mut self, val: Option<&String>)

Source

pub fn set_title<S: AsRef<String>>(&mut self, val: Option<&S>)

Source

pub fn view_ar(&self) -> Rar<View>

Source

pub fn view(&self) -> R<View>

Source

pub fn set_view(&mut self, val: &View)

Source

pub fn view_if_loaded_ar(&self) -> Option<Rar<View>>

Source

pub fn view_if_loaded(&self) -> Option<R<View>>

Source

pub fn load_view(&mut self)

Source

pub fn load_view_if_needed(&mut self)

Source

pub fn is_view_loaded(&self) -> bool

Source

pub fn parent_vc_ar(&self) -> Option<Rar<ViewController>>

Source

pub fn parent_vc(&self) -> Option<R<ViewController>>

Source

pub fn child_vcs_ar(&self) -> Rar<Array<ViewController>>

Source

pub fn child_vcs(&self) -> R<Array<ViewController>>

Source

pub fn add_child_vc(&mut self, val: &ViewController)

Source

pub fn remove_from_parent_vc(&mut self)

Source

pub fn insert_child_vc_at(&mut self, val: &ViewController, index: usize)

Source

pub fn remove_child_vc_at(&mut self, index: usize)

Source

pub fn preferred_content_size_did_change_for_vc(&mut self, val: &ViewController)

Source

pub fn view_will_transition_to_size(&mut self, val: Size)

Methods from Deref<Target = Responder>§

Source

pub fn retained(&self) -> R<Self>

Methods from Deref<Target = Id>§

Source

pub unsafe fn value_for_key_throws_ar(&self, key: &String) -> Option<Rar<Self>>

Source

pub unsafe fn value_for_key_throws(&self, key: &String) -> Option<R<Self>>

Source

pub fn value_for_key<'ear>( &self, key: &String, ) -> ExResult<'ear, Option<R<Self>>>

Source

pub unsafe fn set_value_for_key_throws( &mut self, val: Option<&Self>, key: &String, )

Source

pub fn set_value_for_key<'ear>( &mut self, val: Option<&Self>, key: &String, ) -> ExResult<'ear>

Source

pub unsafe fn value_for_key_path_throws_ar( &self, key_path: &String, ) -> Option<Rar<Self>>

Source

pub unsafe fn value_for_key_path_throws( &self, key_path: &String, ) -> Option<R<Self>>

Source

pub fn value_for_key_path<'ear>( &self, key_path: &String, ) -> ExResult<'ear, Option<R<Self>>>

Source

pub unsafe fn set_value_for_key_path_throws( &mut self, val: Option<&Self>, key_path: &String, )

Source

pub fn set_value_for_key_path<'ear>( &mut self, val: Option<&Self>, key_path: &String, ) -> ExResult<'ear>

Source

pub fn as_type_ref(&self) -> &Type

Source

pub fn as_id_ref(&self) -> &Self

Source

pub fn is_equal(&self, other: &Self) -> bool

Source

pub fn hash(&self) -> UInteger

Source

pub fn as_ptr(&self) -> *const Self

Trait Implementations§

Source§

impl AsRef<Id> for SplitViewController

Source§

fn as_ref(&self) -> &Id

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Debug for SplitViewController

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for SplitViewController

Source§

type Target = ViewController

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for SplitViewController

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl Obj for SplitViewController

Source§

unsafe fn retain(id: &Self) -> R<Self>

Source§

unsafe fn release(id: &mut Self)

Source§

fn desc_ar(&self) -> Rar<String>

Source§

fn desc(&self) -> R<String>

Source§

fn debug_desc_ar(&self) -> Rar<String>

Source§

fn debug_desc(&self) -> R<String>

Source§

fn responds_to_sel(&self, sel: &Sel) -> bool

Source§

fn class(&self) -> &Class<Self>

Source§

fn is_kind_of_class<T: Obj>(&self, cls: &Class<T>) -> bool

Source§

fn try_cast<T: Obj>(&self, cls: &Class<T>) -> Option<&T>

Source§

fn try_cast_mut<T: Obj>(&mut self, cls: &Class<T>) -> Option<&mut T>

Source§

fn is_member_of_class<T: Obj>(&self, cls: &Class<T>) -> bool

Source§

fn is_tagged_ptr(&self) -> bool

Source§

fn as_id_ref(&self) -> &Id

Source§

impl PartialEq for SplitViewController

Source§

fn eq(&self, other: &SplitViewController) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Retained<SplitViewController>> for SplitViewController

Source§

fn eq(&self, other: &R<SplitViewController>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for SplitViewController

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Release for T
where T: Obj,

Source§

unsafe fn release(&mut self)

Source§

impl<T> Retain for T
where T: Obj,

Source§

fn retained(&self) -> Retained<T>

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.