Trait gtk::prelude::SeparatorToolItemExt  
source · [−]pub trait SeparatorToolItemExt: 'static {
    fn draws(&self) -> bool;
    fn set_draw(&self, draw: bool);
    fn connect_draw_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}Expand description
Required Methods
sourcefn draws(&self) -> bool
 
fn draws(&self) -> bool
Returns whether self is drawn as a line, or just blank.
See set_draw().
Returns
true if self is drawn as a line, or just blank.
sourcefn set_draw(&self, draw: bool)
 
fn set_draw(&self, draw: bool)
Whether self is drawn as a vertical line, or just blank.
Setting this to false along with ToolItemExt::set_expand() is useful
to create an item that forces following items to the end of the toolbar.
draw
whether self is drawn as a vertical line