[]Struct gtk::FileChooserWidget

pub struct FileChooserWidget(_, _);

FileChooserWidget is a widget for choosing files. It exposes the FileChooser interface, and you should use the methods of this interface to interact with the widget.

CSS nodes

FileChooserWidget has a single CSS node with name filechooser.

Implements

FileChooserWidgetExt, BoxExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, OrientableExt, FileChooserExt, WidgetExtManual, BuildableExtManual

Implementations

impl FileChooserWidget[src]

pub fn new(action: FileChooserAction) -> FileChooserWidget[src]

Creates a new FileChooserWidget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by FileChooserDialog.

action

Open or save mode for the widget

Returns

a new FileChooserWidget

Trait Implementations

impl Clone for FileChooserWidget

impl Debug for FileChooserWidget

impl Display for FileChooserWidget[src]

impl Eq for FileChooserWidget

impl Hash for FileChooserWidget

impl IsA<Box> for FileChooserWidget

impl IsA<Buildable> for FileChooserWidget

impl IsA<Container> for FileChooserWidget

impl IsA<FileChooser> for FileChooserWidget

impl IsA<Orientable> for FileChooserWidget

impl IsA<Widget> for FileChooserWidget

impl Ord for FileChooserWidget

impl<T: ObjectType> PartialEq<T> for FileChooserWidget

impl<T: ObjectType> PartialOrd<T> for FileChooserWidget

impl StaticType for FileChooserWidget

Auto Trait Implementations

impl RefUnwindSafe for FileChooserWidget

impl !Send for FileChooserWidget

impl !Sync for FileChooserWidget

impl Unpin for FileChooserWidget

impl UnwindSafe for FileChooserWidget

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

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

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

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.