[][src]Struct libhandy4::HeaderGroup

pub struct HeaderGroup(_);

Implementations

impl HeaderGroup[src]

pub fn new() -> HeaderGroup[src]

pub fn add_gtk_header_bar(&self, header_bar: &HeaderBar)[src]

Adds header_bar to self. When the widget is destroyed or no longer referenced elsewhere, it will be removed from the header group.

header_bar

the gtk::HeaderBar to add

pub fn add_header_bar(&self, header_bar: &HeaderBar)[src]

Adds header_bar to self. When the widget is destroyed or no longer referenced elsewhere, it will be removed from the header group.

header_bar

the HeaderBar to add

pub fn add_header_group(&self, header_group: &HeaderGroup)[src]

Adds header_group to self. When the nested group is no longer referenced elsewhere, it will be removed from the header group.

header_group

the HeaderGroup to add

pub fn get_children(&self) -> Vec<HeaderGroupChild>[src]

Returns the list of children associated with self.

Returns

the glib::SList of children. The list is owned by libhandy and should not be modified.

pub fn get_decorate_all(&self) -> bool[src]

Gets whether the elements of the group should all receive the full decoration.

Returns

true if the elements of the group should all receive the full decoration, false otherwise.

pub fn remove_child(&self, child: &HeaderGroupChild)[src]

Removes child from self.

child

the HeaderGroupChild to remove

pub fn remove_gtk_header_bar(&self, header_bar: &HeaderBar)[src]

Removes header_bar from self.

header_bar

the gtk::HeaderBar to remove

pub fn remove_header_bar(&self, header_bar: &HeaderBar)[src]

Removes header_bar from self.

header_bar

the HeaderBar to remove

pub fn remove_header_group(&self, header_group: &HeaderGroup)[src]

Removes a nested HeaderGroup from a HeaderGroup

header_group

the HeaderGroup to remove

pub fn set_decorate_all(&self, decorate_all: bool)[src]

Sets whether the elements of the group should all receive the full decoration.

decorate_all

whether the elements of the group should all receive the full decoration

pub fn connect_update_decoration_layouts<F: Fn(&HeaderGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

This signal is emitted before updating the decoration layouts.

pub fn connect_property_decorate_all_notify<F: Fn(&HeaderGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for HeaderGroup[src]

impl Debug for HeaderGroup[src]

impl Default for HeaderGroup[src]

impl Display for HeaderGroup[src]

impl Eq for HeaderGroup[src]

impl Hash for HeaderGroup[src]

impl IsA<Buildable> for HeaderGroup[src]

impl Ord for HeaderGroup[src]

impl ParentClassIs for HeaderGroup[src]

type Parent = Object

impl<T: ObjectType> PartialEq<T> for HeaderGroup[src]

impl<T: ObjectType> PartialOrd<T> for HeaderGroup[src]

impl StaticType for HeaderGroup[src]

impl StructuralEq for HeaderGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for HeaderGroup[src]

impl !Send for HeaderGroup[src]

impl !Sync for HeaderGroup[src]

impl Unpin for HeaderGroup[src]

impl UnwindSafe for HeaderGroup[src]

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<O> BuildableExt for O where
    O: IsA<Buildable>, 

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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.