Trait ux::native::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]
F: 'static + Fn(&Self) -> bool,
pub fn connect_property_has_close_button_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self), [src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
Implementors
impl<O> ToolbarExt for O where
O: Is<Toolbar>, [src]
O: Is<Toolbar>,
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(&O) -> bool, [src]
F: 'static + Fn(&O) -> bool,
pub fn connect_property_has_close_button_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O), [src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),