[][src]Struct fltk::group::Tabs

pub struct Tabs { /* fields omitted */ }

Creates a tab which can contain widgets

Implementations

impl Tabs[src]

pub fn value(&mut self) -> Option<impl GroupExt>[src]

Gets the currently visible group

pub fn set_value<Grp: GroupExt>(&mut self, w: &Grp) -> Result<(), FltkError>[src]

Sets the currently visible group

pub fn push(&self) -> Option<impl GroupExt>[src]

Returns the tab group for the tab the user has currently down-clicked

pub fn set_push<Grp: GroupExt>(&mut self, w: &Grp) -> Result<(), FltkError>[src]

This is called by the tab widget's handle() method to set the tab group widget the user last pushed

pub fn client_area(&mut self) -> (i32, i32, i32, i32)[src]

Returns the position and size available to be used by its children

pub fn set_tab_align(&mut self, a: Align)[src]

Sets the tab label alignment

pub fn tab_align(&self) -> Align[src]

Gets the tab label alignment.

Trait Implementations

impl Clone for Tabs[src]

impl Debug for Tabs[src]

impl GroupExt for Tabs[src]

impl Send for Tabs[src]

impl Sync for Tabs[src]

impl WidgetBase for Tabs[src]

impl WidgetExt for Tabs[src]

Auto Trait Implementations

impl RefUnwindSafe for Tabs

impl Unpin for Tabs

impl UnwindSafe for Tabs

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.