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

Trait containing all SeparatorToolItem methods.

Implementors

SeparatorToolItem

Required Methods

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.

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

Implementors