#[repr(transparent)]pub struct NSTabViewControllerTabStyle(pub NSInteger);
NSTabViewController
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl NSTabViewControllerTabStyle
impl NSTabViewControllerTabStyle
Sourcepub const SegmentedControlOnTop: Self
pub const SegmentedControlOnTop: Self
Uses an NSSegmentedControl to show the UI for the tabs. The control is on the top of the view.
Sourcepub const SegmentedControlOnBottom: Self
pub const SegmentedControlOnBottom: Self
Uses an NSSegmentedControl to show the UI for the tabs. The control is on the bottom of the view.
Sourcepub const Toolbar: Self
pub const Toolbar: Self
Automatically pushes the tabs into the window’s toolbar as toolbar items, if non-nil. This style will cause the TabViewController to set its containing window’s toolbar to its own and become that toolbar’s delegate. The toolbar items can be customized or supplemented by overriding the relevant NSToolbarDelegate methods.
Sourcepub const Unspecified: Self
pub const Unspecified: Self
NSTabViewController will not provide any of its own tab control UI. Separate UI, such as a NSSegmentedControl or NSPopupButton, can be easily bound to the TabViewController. Or
tabView.tabViewType
can be changed for the TabView itself to draw the UI.
Trait Implementations§
Source§impl Clone for NSTabViewControllerTabStyle
impl Clone for NSTabViewControllerTabStyle
Source§fn clone(&self) -> NSTabViewControllerTabStyle
fn clone(&self) -> NSTabViewControllerTabStyle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more