Trait components::PathBarExt[][src]

pub trait PathBarExt: 'static {
Show methods fn clear(&self);
fn get_clear_on_change(&self) -> bool;
fn get_editable(&self) -> bool;
fn get_entry(&self) -> Option<Entry>;
fn get_label(&self, level: usize) -> Option<String>;
fn get_level(&self) -> usize;
fn get_text(&self) -> Option<String>;
fn pop(&self) -> usize;
fn push(&self, name: &str) -> usize;
fn set_clear_on_change(&self, clear_on_change: bool);
fn set_editable(&self, editable: bool);
fn set_label(&self, level: usize, label: &str);
fn set_text(&self, text: &str);
fn connect_property_clear_on_change_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_editable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_entry_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_level_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

fn clear(&self)[src]

clear: @bar: An #PathBar

Remove all the current buttons

fn get_clear_on_change(&self) -> bool[src]

get_clear_on_change: @bar: A #PathBar

Get the value of the #PathBar:clear-on-change property

Returns: the value of the “clear-on-change” property

fn get_editable(&self) -> bool[src]

get_editable: @bar: A #PathBar

Get the value of the #PathBar:editable property.

Returns: the current value of the “editable” property.

fn get_entry(&self) -> Option<Entry>[src]

get_entry: @bar: A #PathBar

Get the Entry used as the editable area in the PathBar.

Returns: (transfer none): Entry *

fn get_label(&self, level: usize) -> Option<String>[src]

fn get_level(&self) -> usize[src]

fn get_text(&self) -> Option<String>[src]

fn pop(&self) -> usize[src]

fn push(&self, name: &str) -> usize[src]

fn set_clear_on_change(&self, clear_on_change: bool)[src]

set_clear_on_change: @bar: A #PathBar @clear_on_change: the new value of the property

Set theh value of the #PathBar:clear-on-change property

fn set_editable(&self, editable: bool)[src]

set_editable: @bar: A #PathBar @editable: #true if the path bar should be editable

Set the value of the #PathBar:editable property.

fn set_label(&self, level: usize, label: &str)[src]

set_label: @bar: A #PathBar @level: A #gint @label: A #gchar

Set the text on the button specified by @level

fn set_text(&self, text: &str)[src]

set_text: @bar: A #PathBar @text: string to set the editable text to.

Set the text in the editable area of the #PathBar

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

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

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

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

Loading content...

Implementors

impl<O: Is<PathBar>> PathBarExt for O[src]

fn clear(&self)[src]

clear: @bar: An #PathBar

Remove all the current buttons

fn get_clear_on_change(&self) -> bool[src]

get_clear_on_change: @bar: A #PathBar

Get the value of the #PathBar:clear-on-change property

Returns: the value of the “clear-on-change” property

fn get_editable(&self) -> bool[src]

get_editable: @bar: A #PathBar

Get the value of the #PathBar:editable property.

Returns: the current value of the “editable” property.

fn get_entry(&self) -> Option<Entry>[src]

get_entry: @bar: A #PathBar

Get the Entry used as the editable area in the PathBar.

Returns: (transfer none): Entry *

fn set_clear_on_change(&self, clear_on_change: bool)[src]

set_clear_on_change: @bar: A #PathBar @clear_on_change: the new value of the property

Set theh value of the #PathBar:clear-on-change property

fn set_editable(&self, editable: bool)[src]

set_editable: @bar: A #PathBar @editable: #true if the path bar should be editable

Set the value of the #PathBar:editable property.

fn set_label(&self, level: usize, label: &str)[src]

set_label: @bar: A #PathBar @level: A #gint @label: A #gchar

Set the text on the button specified by @level

fn set_text(&self, text: &str)[src]

set_text: @bar: A #PathBar @text: string to set the editable text to.

Set the text in the editable area of the #PathBar

Loading content...