Trait ux::ToolbarExt[][src]

pub trait ToolbarExt: 'static {
    pub fn get_has_close_button(&self) -> bool;
pub fn set_has_close_button(&self, has_close_button: bool);
pub fn connect_close_button_clicked<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self) -> bool
;
pub fn connect_property_has_close_button_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Required methods

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

set_has_close_button: @toolbar: A #Toolbar @has_close_button: #true if a close button should be displayed

Set the #Toolbar:has-close-button property

pub fn set_has_close_button(&self, has_close_button: bool)[src]

get_has_close_button: @toolbar: A #Toolbar

Get the value of the #Toolbar:has-close-button property.

Returns: the current value of the “hast-close-button” property.

pub fn connect_close_button_clicked<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self) -> bool
[src]

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

Loading content...

Implementors

impl<O> ToolbarExt for O where
    O: Is<Toolbar>, 
[src]

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

set_has_close_button: @toolbar: A #Toolbar @has_close_button: #true if a close button should be displayed

Set the #Toolbar:has-close-button property

pub fn set_has_close_button(&self, has_close_button: bool)[src]

get_has_close_button: @toolbar: A #Toolbar

Get the value of the #Toolbar:has-close-button property.

Returns: the current value of the “hast-close-button” property.

Loading content...