pub trait ActionableExtManual: 'static {
    fn set_action_target(&self, target: Option<&impl ToVariant>);
}
Expand description

Trait containing manually implemented methods of Actionable.

Required Methods§

Sets the target of an actionable widget.

This is a convenience function that calls GLib::Variant::new() for @format_string and uses the result to call ActionableExt::set_action_target_value().

If you are setting a string-valued target and want to set the action name at the same time, you can use ActionableExt::set_detailed_action_name().

format_string

a glib::Variant format string

Implementors§