[]Struct gtk::Actionable

pub struct Actionable(_, _);

This interface provides a convenient way of associating widgets with actions on a ApplicationWindow or Application.

It primarily consists of two properties: Actionable:action-name and Actionable:action-target. There are also some convenience APIs for setting these properties.

The action will be looked up in action groups that are found among the widgets ancestors. Most commonly, these will be the actions with the “win.” or “app.” prefix that are associated with the ApplicationWindow or Application, but other action groups that are added with WidgetExt::insert_action_group will be consulted as well.

Implements

ActionableExt, WidgetExt, glib::object::ObjectExt, BuildableExt, WidgetExtManual, BuildableExtManual

Trait Implementations

impl Clone for Actionable

impl Debug for Actionable

impl Display for Actionable[src]

impl Eq for Actionable

impl Hash for Actionable

impl IsA<Actionable> for Button

impl IsA<Actionable> for CheckButton

impl IsA<Actionable> for MenuToolButton

impl IsA<Actionable> for ModelButton

impl IsA<Actionable> for RadioButton

impl IsA<Actionable> for RadioMenuItem

impl IsA<Actionable> for RadioToolButton

impl IsA<Actionable> for ScaleButton

impl IsA<Actionable> for SeparatorMenuItem

impl IsA<Actionable> for Switch

impl IsA<Actionable> for ToggleButton

impl IsA<Actionable> for ToggleToolButton

impl IsA<Actionable> for CheckMenuItem

impl IsA<Actionable> for ToolButton

impl IsA<Actionable> for VolumeButton

impl IsA<Actionable> for ColorButton

impl IsA<Actionable> for FontButton

impl IsA<Actionable> for LinkButton

impl IsA<Actionable> for ListBoxRow

impl IsA<Actionable> for LockButton

impl IsA<Actionable> for MenuButton

impl IsA<Actionable> for MenuItem

impl IsA<Buildable> for Actionable

impl IsA<Widget> for Actionable

impl Ord for Actionable

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

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

impl StaticType for Actionable

Auto Trait Implementations

impl RefUnwindSafe for Actionable

impl !Send for Actionable

impl !Sync for Actionable

impl Unpin for Actionable

impl UnwindSafe for Actionable

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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

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.