Trait components::ToolbarExt[][src]

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

Required methods

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

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.

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

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

Loading content...

Implementors

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

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

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...