gio::subclass::prelude

Trait ActionGroupImplExt

Source
pub trait ActionGroupImplExt: Sealed + ObjectSubclass {
Show 14 methods // Provided methods fn parent_action_added(&self, action_name: &str) { ... } fn parent_action_enabled_changed(&self, action_name: &str, enabled: bool) { ... } fn parent_action_removed(&self, action_name: &str) { ... } fn parent_action_state_changed(&self, action_name: &str, state: &Variant) { ... } fn parent_activate_action( &self, action_name: &str, parameter: Option<&Variant>, ) { ... } fn parent_change_action_state(&self, action_name: &str, value: &Variant) { ... } fn parent_action_is_enabled(&self, action_name: &str) -> bool { ... } fn parent_action_parameter_type( &self, action_name: &str, ) -> Option<VariantType> { ... } fn parent_action_state(&self, action_name: &str) -> Option<Variant> { ... } fn parent_action_state_hint(&self, action_name: &str) -> Option<Variant> { ... } fn parent_action_state_type(&self, action_name: &str) -> Option<VariantType> { ... } fn parent_has_action(&self, action_name: &str) -> bool { ... } fn parent_list_actions(&self) -> Vec<String> { ... } fn parent_query_action( &self, action_name: &str, ) -> Option<(bool, Option<VariantType>, Option<VariantType>, Option<Variant>, Option<Variant>)> { ... }
}

Provided Methods§

Source

fn parent_action_added(&self, action_name: &str)

Source

fn parent_action_enabled_changed(&self, action_name: &str, enabled: bool)

Source

fn parent_action_removed(&self, action_name: &str)

Source

fn parent_action_state_changed(&self, action_name: &str, state: &Variant)

Source

fn parent_activate_action(&self, action_name: &str, parameter: Option<&Variant>)

Source

fn parent_change_action_state(&self, action_name: &str, value: &Variant)

Source

fn parent_action_is_enabled(&self, action_name: &str) -> bool

Source

fn parent_action_parameter_type(&self, action_name: &str) -> Option<VariantType>

Source

fn parent_action_state(&self, action_name: &str) -> Option<Variant>

Source

fn parent_action_state_hint(&self, action_name: &str) -> Option<Variant>

Source

fn parent_action_state_type(&self, action_name: &str) -> Option<VariantType>

Source

fn parent_has_action(&self, action_name: &str) -> bool

Source

fn parent_list_actions(&self) -> Vec<String>

Source

fn parent_query_action( &self, action_name: &str, ) -> Option<(bool, Option<VariantType>, Option<VariantType>, Option<Variant>, Option<Variant>)>

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§