[]Struct gtk::AppChooserDialog

pub struct AppChooserDialog(_, _);

AppChooserDialog shows a AppChooserWidget inside a Dialog.

Note that AppChooserDialog does not have any interesting methods of its own. Instead, you should get the embedded AppChooserWidget using AppChooserDialogExt::get_widget and call its methods if the generic AppChooser interface is not sufficient for your needs.

To set the heading that is shown above the AppChooserWidget, use AppChooserDialogExt::set_heading.

Implements

AppChooserDialogExt, DialogExt, GtkWindowExt, BinExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, AppChooserExt, DialogExtManual, GtkWindowExtManual, WidgetExtManual, BuildableExtManual

Implementations

impl AppChooserDialog[src]

pub fn new<P: IsA<Window>, Q: IsA<File>>(
    parent: Option<&P>,
    flags: DialogFlags,
    file: &Q
) -> AppChooserDialog
[src]

Creates a new AppChooserDialog for the provided gio::File, to allow the user to select an application for it.

parent

a Window, or None

flags

flags for this dialog

file

a gio::File

Returns

a newly created AppChooserDialog

pub fn new_for_content_type<P: IsA<Window>>(
    parent: Option<&P>,
    flags: DialogFlags,
    content_type: &str
) -> AppChooserDialog
[src]

Creates a new AppChooserDialog for the provided content type, to allow the user to select an application for it.

parent

a Window, or None

flags

flags for this dialog

content_type

a content type string

Returns

a newly created AppChooserDialog

Trait Implementations

impl Clone for AppChooserDialog

impl Debug for AppChooserDialog

impl Display for AppChooserDialog[src]

impl Eq for AppChooserDialog

impl Hash for AppChooserDialog

impl IsA<AppChooser> for AppChooserDialog

impl IsA<Bin> for AppChooserDialog

impl IsA<Buildable> for AppChooserDialog

impl IsA<Container> for AppChooserDialog

impl IsA<Dialog> for AppChooserDialog

impl IsA<Widget> for AppChooserDialog

impl IsA<Window> for AppChooserDialog

impl Ord for AppChooserDialog

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

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

impl StaticType for AppChooserDialog

Auto Trait Implementations

impl RefUnwindSafe for AppChooserDialog

impl !Send for AppChooserDialog

impl !Sync for AppChooserDialog

impl Unpin for AppChooserDialog

impl UnwindSafe for AppChooserDialog

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.