[][src]Struct fltk::browser::FileBrowser

pub struct FileBrowser { /* fields omitted */ }

Creates a file browser

Implementations

impl FileBrowser[src]

pub fn iconsize(&self) -> u32[src]

Gets the icon size

pub fn set_iconsize(&mut self, s: u32)[src]

Sets the icon size

pub fn set_filter(&mut self, pattern: &str)[src]

Sets the filter for the FileBrowser The following syntax is used for the pattern:

  • matches any sequence of 0 or more characters. ? matches any single character. [set] matches any character in the set. Set can contain any single characters, or a-z to represent a range. To match ] or - they must be the first characters. To match ^ or ! they must not be the first characters. 1 or [!set] matches any character not in the set. {X|Y|Z} or {X,Y,Z} matches any one of the subexpressions literally. \x quotes the character x so it has no special meaning. x all other characters must be matched exactly.

  1.  

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

Gets the filter for the FileBrowser

pub fn filetype(&self) -> FileType[src]

Gets the FileType of the FileBrowser

pub fn set_filetype(&mut self, t: FileType)[src]

Sets the FileType of the FileBrowser

Trait Implementations

impl BrowserExt for FileBrowser[src]

impl Clone for FileBrowser[src]

impl Debug for FileBrowser[src]

impl Send for FileBrowser[src]

impl Sync for FileBrowser[src]

impl WidgetExt for FileBrowser[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.