Struct ux::PushAction [−][src]
pub struct PushAction { /* fields omitted */ }
Implementations
impl PushAction
[src]
impl PushAction
[src]pub fn new() -> PushAction
[src]
pub fn new_full(
name: &str,
display_name: &str,
activated_cb: Option<Box<dyn FnOnce(&PushAction) + 'static, Global>>
) -> PushAction
[src]
name: &str,
display_name: &str,
activated_cb: Option<Box<dyn FnOnce(&PushAction) + 'static, Global>>
) -> PushAction
pub fn new_stateful(
name: &str,
parameter_type: Option<&VariantTy>,
state: &Variant
) -> PushAction
[src]
name: &str,
parameter_type: Option<&VariantTy>,
state: &Variant
) -> PushAction
pub fn with_parameter(
name: &str,
parameter_type: Option<&VariantTy>
) -> PushAction
[src]
name: &str,
parameter_type: Option<&VariantTy>
) -> PushAction
Trait Implementations
impl AsRef<PushAction> for PushAction
[src]
impl AsRef<PushAction> for PushAction
[src]pub fn as_ref(&self) -> &PushAction
[src]
impl Clone for PushAction
[src]
impl Clone for PushAction
[src]pub fn clone(&self) -> PushAction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PushAction
[src]
impl Default for PushAction
[src]pub fn default() -> PushAction
[src]
impl Is<PushAction> for PushAction
[src]
impl Is<PushAction> for PushAction
[src]impl Object for PushAction
[src]
impl Object for PushAction
[src]Auto Trait Implementations
impl !RefUnwindSafe for PushAction
impl !RefUnwindSafe for PushAction
impl Send for PushAction
impl Send for PushAction
impl !Sync for PushAction
impl !Sync for PushAction
impl Unpin for PushAction
impl Unpin for PushAction
impl UnwindSafe for PushAction
impl UnwindSafe for PushAction
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<O> PushActionExt for O where
O: Is<PushAction>,
[src]
impl<O> PushActionExt for O where
O: Is<PushAction>,
[src]pub fn get_active(&self) -> bool
[src]
get_active: @action: A #PushAction
Get the value of the active property
Returns: #true if the action is active
pub fn get_display_name(&self) -> Option<String>
[src]
get_display_name: @action: A #PushAction
Get the display name of the action
Returns: display-name of the action, owned by PushAction
pub fn get_icon(&self) -> Option<String>
[src]
get_icon: @action: A #PushAction
Get the icon of the action
Returns: icon of the action, owned by PushAction
pub fn get_name(&self) -> Option<String>
[src]
get_name: @action: A #PushAction
Get the name of the action
Returns: name of the action, owned by PushAction
pub fn set_active(&self, active: bool)
[src]
set_active: @action: A #PushAction @active: the value to set
Set the value of the active property
pub fn set_display_name(&self, name: &str)
[src]
set_display_name: @action: A #PushAction @name: new display name to set
Set the name of the action to display to the user
pub fn set_icon(&self, name: &str)
[src]
set_icon: @action: A #PushAction @name: new icon to set
The icon to be used in a visual representation of an action.
pub fn set_name(&self, name: &str)
[src]
set_name: @action: A #PushAction @name: new name to set
Set the name of the action
pub fn connect_activate<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, Option<&Variant>),
[src]
F: 'static + Fn(&O, Option<&Variant>),
pub fn connect_property_display_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_icon_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,