Trait gtk::prelude::ToggleToolButtonExt  
source · [−]pub trait ToggleToolButtonExt: 'static {
    fn is_active(&self) -> bool;
    fn set_active(&self, is_active: bool);
    fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
    fn connect_active_notify<F: Fn(&Self) + 'static>(
        &self, 
        f: F
    ) -> SignalHandlerId;
}Expand description
Required Methods
fn set_active(&self, is_active: bool)
fn set_active(&self, is_active: bool)
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Emitted whenever the toggle tool button changes state.