Trait ux::PathBarExt[][src]

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

Required methods

pub fn clear(&self)[src]

clear: @bar: An #PathBar

Remove all the current buttons

pub 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

pub 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.

pub 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 *

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

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

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

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

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

pub 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

pub 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.

pub 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

pub 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

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

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

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

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

Loading content...

Implementors

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

pub fn clear(&self)[src]

clear: @bar: An #PathBar

Remove all the current buttons

pub 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

pub 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.

pub 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 *

pub 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

pub 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.

pub 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

pub 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...