[−][src]Struct native_windows_gui::Tab
A subwindow in a TabContainer widget
Fields
handle: ControlHandleImplementations
impl Tab[src]
pub fn builder<'a>() -> TabBuilder<'a>[src]
pub fn set_text<'a>(&self, text: &'a str)[src]
Sets the title of the tab
pub fn set_image_index(&self, index: Option<i32>)[src]
Sets the image of the tab. index is the index of the image in the tab container image list.
This is only available if the "image-list" feature is enabled
pub fn image_index(&self) -> Option<i32>[src]
Returns the index of image of the tab. The index maps to the image list of the tab container.
This is only available if the "image-list" feature is enabled
pub fn visible(&self) -> bool[src]
Returns true if the control is visible to the user. Will return true even if the control is outside of the parent client view (ex: at the position (10000, 10000))
pub fn set_visible(&self, v: bool)[src]
Show or hide the control to the user
pub fn class_name(&self) -> &'static str[src]
Winapi class name used during control creation
pub fn flags(&self) -> u32[src]
Winapi base flags used during window creation
pub fn forced_flags(&self) -> u32[src]
Winapi flags required by the control
Trait Implementations
impl Debug for Tab[src]
impl Default for Tab[src]
impl Drop for Tab[src]
impl Eq for Tab[src]
impl<'_> From<&'_ Tab> for ControlHandle[src]
impl PartialEq<ControlHandle> for Tab[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<Tab> for Tab[src]
impl PartialEq<Tab> for ControlHandle[src]
impl StructuralEq for Tab[src]
impl StructuralPartialEq for Tab[src]
Auto Trait Implementations
impl RefUnwindSafe for Tab
impl !Send for Tab
impl !Sync for Tab
impl Unpin for Tab
impl UnwindSafe for Tab
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,