pub trait ActionGroupImplExt: ObjectSubclass {
Show 14 methods
fn parent_action_added(&self, action_group: &Self::Type, action_name: &str);
fn parent_action_enabled_changed(
&self,
action_group: &Self::Type,
action_name: &str,
enabled: bool
);
fn parent_action_removed(&self, action_group: &Self::Type, action_name: &str);
fn parent_action_state_changed(
&self,
action_group: &Self::Type,
action_name: &str,
state: &Variant
);
fn parent_activate_action(
&self,
action_group: &Self::Type,
action_name: &str,
parameter: Option<&Variant>
);
fn parent_change_action_state(
&self,
action_group: &Self::Type,
action_name: &str,
value: &Variant
);
fn parent_action_is_enabled(
&self,
action_group: &Self::Type,
action_name: &str
) -> bool;
fn parent_action_parameter_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>;
fn parent_action_state(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant>;
fn parent_action_state_hint(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant>;
fn parent_action_state_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>;
fn parent_has_action(
&self,
action_group: &Self::Type,
action_name: &str
) -> bool;
fn parent_list_actions(&self, action_group: &Self::Type) -> Vec<String>;
fn parent_query_action(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<(bool, Option<VariantType>, Option<VariantType>, Option<Variant>, Option<Variant>)>;
}
Required Methods
source
fn parent_action_added(&self, action_group: &Self::Type, action_name: &str)
sourcefn parent_action_enabled_changed(
fn parent_action_enabled_changed(
&self,
action_group: &Self::Type,
action_name: &str,
enabled: bool
)
source
fn parent_action_removed(&self, action_group: &Self::Type, action_name: &str)
sourcefn parent_action_state_changed(
fn parent_action_state_changed(
&self,
action_group: &Self::Type,
action_name: &str,
state: &Variant
)
sourcefn parent_activate_action(
fn parent_activate_action(
&self,
action_group: &Self::Type,
action_name: &str,
parameter: Option<&Variant>
)
sourcefn parent_change_action_state(
fn parent_change_action_state(
&self,
action_group: &Self::Type,
action_name: &str,
value: &Variant
)
sourcefn parent_action_is_enabled(
fn parent_action_is_enabled(
&self,
action_group: &Self::Type,
action_name: &str
) -> bool
sourcefn parent_action_parameter_type(
fn parent_action_parameter_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>
sourcefn parent_action_state(
fn parent_action_state(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant>
sourcefn parent_action_state_hint(
fn parent_action_state_hint(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<Variant>
sourcefn parent_action_state_type(
fn parent_action_state_type(
&self,
action_group: &Self::Type,
action_name: &str
) -> Option<VariantType>
source
fn parent_has_action(&self, action_group: &Self::Type, action_name: &str) -> bool
source
fn parent_list_actions(&self, action_group: &Self::Type) -> Vec<String>
sourcefn parent_query_action(