pub trait ActionGroupImpl: ObjectImpl {
Show 14 methods
fn list_actions(&self, action_group: &Self::Type) -> Vec<String>;
fn query_action(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<(bool, Option<VariantType>, Option<VariantType>, Option<Variant>, Option<Variant>)>;
fn action_added(&self, action_group: &Self::Type, action_name: &str) { ... }
fn action_enabled_changed(
&self,
action_group: &Self::Type,
action_name: &str,
enabled: bool
) { ... }
fn action_removed(&self, action_group: &Self::Type, action_name: &str) { ... }
fn action_state_changed(
&self,
action_group: &Self::Type,
action_name: &str,
state: &Variant
) { ... }
fn activate_action(
&self,
action_group: &Self::Type,
action_name: &str,
parameter: Option<&Variant>
) { ... }
fn change_action_state(
&self,
action_group: &Self::Type,
action_name: &str,
value: &Variant
) { ... }
fn action_is_enabled(
&self,
action_group: &Self::Type,
action_name: &str
) -> bool { ... }
fn action_parameter_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType> { ... }
fn action_state(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant> { ... }
fn action_state_hint(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant> { ... }
fn action_state_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType> { ... }
fn has_action(&self, action_group: &Self::Type, action_name: &str) -> bool { ... }
}
Required Methods
source
fn list_actions(&self, action_group: &Self::Type) -> Vec<String>
sourcefn query_action(
fn query_action(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<(bool, Option<VariantType>, Option<VariantType>, Option<Variant>, Option<Variant>)>
Provided Methods
source
fn action_added(&self, action_group: &Self::Type, action_name: &str)
sourcefn action_enabled_changed(
fn action_enabled_changed(
&self,
action_group: &Self::Type,
action_name: &str,
enabled: bool
)
source
fn action_removed(&self, action_group: &Self::Type, action_name: &str)
sourcefn action_state_changed(
fn action_state_changed(
&self,
action_group: &Self::Type,
action_name: &str,
state: &Variant
)
sourcefn activate_action(
fn activate_action(
&self,
action_group: &Self::Type,
action_name: &str,
parameter: Option<&Variant>
)
sourcefn change_action_state(
fn change_action_state(
&self,
action_group: &Self::Type,
action_name: &str,
value: &Variant
)
source
fn action_is_enabled(&self, action_group: &Self::Type, action_name: &str) -> bool
sourcefn action_parameter_type(
fn action_parameter_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>
sourcefn action_state_type(
fn action_state_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>
source