[]Struct gtk::RecentChooserWidget

pub struct RecentChooserWidget(_, _);

RecentChooserWidget is a widget suitable for selecting recently used files. It is the main building block of a RecentChooserDialog. Most applications will only need to use the latter; you can use RecentChooserWidget as part of a larger window if you have special needs.

Note that RecentChooserWidget does not have any methods of its own. Instead, you should use the functions that work on a RecentChooser.

Recently used files are supported since GTK+ 2.10.

Implements

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

Implementations

impl RecentChooserWidget[src]

pub fn new() -> RecentChooserWidget[src]

Creates a new RecentChooserWidget object. This is an embeddable widget used to access the recently used resources list.

Returns

a new RecentChooserWidget

pub fn new_for_manager<P: IsA<RecentManager>>(
    manager: &P
) -> RecentChooserWidget
[src]

Creates a new RecentChooserWidget with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a RecentManager object.

manager

a RecentManager

Returns

a new RecentChooserWidget

Trait Implementations

impl Clone for RecentChooserWidget

impl Debug for RecentChooserWidget

impl Default for RecentChooserWidget[src]

impl Display for RecentChooserWidget[src]

impl Eq for RecentChooserWidget

impl Hash for RecentChooserWidget

impl IsA<Box> for RecentChooserWidget

impl IsA<Buildable> for RecentChooserWidget

impl IsA<Container> for RecentChooserWidget

impl IsA<Orientable> for RecentChooserWidget

impl IsA<RecentChooser> for RecentChooserWidget

impl IsA<Widget> for RecentChooserWidget

impl Ord for RecentChooserWidget

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

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

impl StaticType for RecentChooserWidget

Auto Trait Implementations

impl RefUnwindSafe for RecentChooserWidget

impl !Send for RecentChooserWidget

impl !Sync for RecentChooserWidget

impl Unpin for RecentChooserWidget

impl UnwindSafe for RecentChooserWidget

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.