Trait gtk4::prelude::ActionableExt
source · [−]pub trait ActionableExt: 'static {
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;
}
Required 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)
sourcefn connect_action_name_notify<F: Fn(&Self) + 'static>(
fn connect_action_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_action_target_notify<F: Fn(&Self) + 'static>(