[]Struct gtk::AppChooserWidget

pub struct AppChooserWidget(_, _);

AppChooserWidget is a widget for selecting applications. It is the main building block for AppChooserDialog. Most applications only need to use the latter; but you can use this widget as part of a larger widget if you have special needs.

AppChooserWidget offers detailed control over what applications are shown, using the AppChooserWidget:show-default, AppChooserWidget:show-recommended, AppChooserWidget:show-fallback, AppChooserWidget:show-other and AppChooserWidget:show-all properties. See the AppChooser documentation for more information about these groups of applications.

To keep track of the selected application, use the AppChooserWidget::application-selected and AppChooserWidget::application-activated signals.

CSS nodes

AppChooserWidget has a single CSS node with name appchooser.

Implements

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

Implementations

impl AppChooserWidget[src]

pub fn new(content_type: &str) -> AppChooserWidget[src]

Creates a new AppChooserWidget for applications that can handle content of the given type.

content_type

the content type to show applications for

Returns

a newly created AppChooserWidget

Trait Implementations

impl Clone for AppChooserWidget

impl Debug for AppChooserWidget

impl Display for AppChooserWidget[src]

impl Eq for AppChooserWidget

impl Hash for AppChooserWidget

impl IsA<AppChooser> for AppChooserWidget

impl IsA<Box> for AppChooserWidget

impl IsA<Buildable> for AppChooserWidget

impl IsA<Container> for AppChooserWidget

impl IsA<Orientable> for AppChooserWidget

impl IsA<Widget> for AppChooserWidget

impl Ord for AppChooserWidget

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

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

impl StaticType for AppChooserWidget

Auto Trait Implementations

impl RefUnwindSafe for AppChooserWidget

impl !Send for AppChooserWidget

impl !Sync for AppChooserWidget

impl Unpin for AppChooserWidget

impl UnwindSafe for AppChooserWidget

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.