gtk::prelude

Trait ActionableExt

Source
pub trait ActionableExt:
    IsA<Actionable>
    + Sealed
    + 'static {
    // Provided methods
    fn action_name(&self) -> Option<GString> { ... }
    fn action_target_value(&self) -> Option<Variant> { ... }
    fn set_action_name(&self, action_name: Option<&str>) { ... }
    fn set_action_target_value(&self, target_value: Option<&Variant>) { ... }
    fn set_detailed_action_name(&self, detailed_action_name: &str) { ... }
    fn connect_action_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_action_target_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn action_name(&self) -> Option<GString>

Source

fn action_target_value(&self) -> Option<Variant>

Source

fn set_action_name(&self, action_name: Option<&str>)

Source

fn set_action_target_value(&self, target_value: Option<&Variant>)

Source

fn set_detailed_action_name(&self, detailed_action_name: &str)

Source

fn connect_action_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_action_target_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§