[][src]Trait gtk::SeparatorToolItemExt

pub trait SeparatorToolItemExt: 'static {
    fn get_draw(&self) -> bool;
fn set_draw(&self, draw: bool);
fn connect_property_draw_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all SeparatorToolItem methods.

Implementors

SeparatorToolItem

Required methods

fn get_draw(&self) -> bool

Returns whether self is drawn as a line, or just blank. See SeparatorToolItemExt::set_draw.

Returns

true if self is drawn as a line, or just blank.

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

fn connect_property_draw_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<SeparatorToolItem>> SeparatorToolItemExt for O[src]

Loading content...