[]Struct gtk::SeparatorToolItem

pub struct SeparatorToolItem(_, _);

A SeparatorToolItem is a ToolItem that separates groups of other GtkToolItems. Depending on the theme, a SeparatorToolItem will often look like a vertical line on horizontally docked toolbars.

If the Toolbar child property “expand” is true and the property SeparatorToolItem:draw is false, a SeparatorToolItem will act as a “spring” that forces other items to the ends of the toolbar.

Use SeparatorToolItem::new to create a new SeparatorToolItem.

CSS nodes

SeparatorToolItem has a single CSS node with name separator.

Implements

SeparatorToolItemExt, ToolItemExt, BinExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, WidgetExtManual, BuildableExtManual

Implementations

impl SeparatorToolItem[src]

pub fn new() -> SeparatorToolItem[src]

Create a new SeparatorToolItem

Returns

the new SeparatorToolItem

Trait Implementations

impl Clone for SeparatorToolItem

impl Debug for SeparatorToolItem

impl Default for SeparatorToolItem[src]

impl Display for SeparatorToolItem[src]

impl Eq for SeparatorToolItem

impl Hash for SeparatorToolItem

impl IsA<Bin> for SeparatorToolItem

impl IsA<Buildable> for SeparatorToolItem

impl IsA<Container> for SeparatorToolItem

impl IsA<ToolItem> for SeparatorToolItem

impl IsA<Widget> for SeparatorToolItem

impl Ord for SeparatorToolItem

impl<T: ObjectType> PartialEq<T> for SeparatorToolItem

impl<T: ObjectType> PartialOrd<T> for SeparatorToolItem

impl StaticType for SeparatorToolItem

Auto Trait Implementations

impl RefUnwindSafe for SeparatorToolItem

impl !Send for SeparatorToolItem

impl !Sync for SeparatorToolItem

impl Unpin for SeparatorToolItem

impl UnwindSafe for SeparatorToolItem

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

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

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

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.