Trait components::FadeEffectExt [−][src]
pub trait FadeEffectExt: 'static {}Show methods
fn get_border(&self) -> (u32, u32, u32, u32); fn get_bounds(&self) -> (i32, i32, u32, u32); fn get_color(&self) -> Color; fn set_border(&self, top: u32, right: u32, bottom: u32, left: u32); fn set_bounds(&self, x: i32, y: i32, width: u32, height: u32); fn set_color(&self, color: &Color); fn get_property_border_bottom(&self) -> u32; fn set_property_border_bottom(&self, border_bottom: u32); fn get_property_border_left(&self) -> u32; fn set_property_border_left(&self, border_left: u32); fn get_property_border_right(&self) -> u32; fn set_property_border_right(&self, border_right: u32); fn get_property_border_top(&self) -> u32; fn set_property_border_top(&self, border_top: u32); fn get_property_bounds_height(&self) -> u32; fn set_property_bounds_height(&self, bounds_height: u32); fn get_property_bounds_width(&self) -> u32; fn set_property_bounds_width(&self, bounds_width: u32); fn get_property_bounds_x(&self) -> i32; fn set_property_bounds_x(&self, bounds_x: i32); fn get_property_bounds_y(&self) -> i32; fn set_property_bounds_y(&self, bounds_y: i32); fn get_property_freeze_update(&self) -> bool; fn set_property_freeze_update(&self, freeze_update: bool); fn connect_property_border_bottom_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_border_left_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_border_right_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_border_top_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_bounds_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_bounds_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_bounds_x_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_bounds_y_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_freeze_update_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
Required methods
fn get_border(&self) -> (u32, u32, u32, u32)
[src]
get_border: @effect: A #FadeEffect @top: (out) (allow-none): The upper border, in pixels @right: (out) (allow-none): The right border, in pixels @bottom: (out) (allow-none): The lower border, in pixels @left: (out) (allow-none): The left border, in pixels
Retrieves the border values for @effect.
fn get_bounds(&self) -> (i32, i32, u32, u32)
[src]
get_bounds: @effect: A #FadeEffect @x: (out) (allow-none): The x value of the effect bounds, in pixels @y: (out) (allow-none): The y value of the effect bounds, in pixels @width: (out) (allow-none): The width of the effect bounds, in pixels, or %0 @height: (out) (allow-none): The height of the effect bounds, in pixels, or %0
Retrieves the bounding box of the effect.
fn get_color(&self) -> Color
[src]
get_color: @effect: A #FadeEffect @color: (out): A #Color to store the color in
Retrieves the color used for the fade effect.
fn set_border(&self, top: u32, right: u32, bottom: u32, left: u32)
[src]
set_border: @effect: A #FadeEffect @top: The upper border, in pixels @right: The right border, in pixels @bottom: The lower border, in pixels @left: The left border, in pixels
Sets the border to be used for the fading effect. This is the number of pixels on each side of the effect that should be used to fade.
fn set_bounds(&self, x: i32, y: i32, width: u32, height: u32)
[src]
set_bounds: @effect: A #FadeEffect @x: The x value of the effect bounds, in pixels @y: The y value of the effect bounds, in pixels @width: The width of the effect bounds, in pixels, or %0 @height: The height of the effect bounds, in pixels, or %0
Sets the bounding box of the effect. The effect will essentially treat this box as a clipping rectangle. Setting width or height to %0 will use the width or height of the #Actor the effect is attached to.
fn set_color(&self, color: &Color)
[src]
set_color: @effect: A #FadeEffect @color: A #Color
Sets the color of the fade effect. The effect will fade out towards the set border to this color.
fn get_property_border_bottom(&self) -> u32
[src]
fn set_property_border_bottom(&self, border_bottom: u32)
[src]
fn get_property_border_left(&self) -> u32
[src]
fn set_property_border_left(&self, border_left: u32)
[src]
fn get_property_border_right(&self) -> u32
[src]
fn set_property_border_right(&self, border_right: u32)
[src]
fn get_property_border_top(&self) -> u32
[src]
fn set_property_border_top(&self, border_top: u32)
[src]
fn get_property_bounds_height(&self) -> u32
[src]
fn set_property_bounds_height(&self, bounds_height: u32)
[src]
fn get_property_bounds_width(&self) -> u32
[src]
fn set_property_bounds_width(&self, bounds_width: u32)
[src]
fn get_property_bounds_x(&self) -> i32
[src]
fn set_property_bounds_x(&self, bounds_x: i32)
[src]
fn get_property_bounds_y(&self) -> i32
[src]
fn set_property_bounds_y(&self, bounds_y: i32)
[src]
fn get_property_freeze_update(&self) -> bool
[src]
fn set_property_freeze_update(&self, freeze_update: bool)
[src]
fn connect_property_border_bottom_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_left_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_right_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_top_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_x_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_y_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_freeze_update_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: Is<FadeEffect>> FadeEffectExt for O
[src]
impl<O: Is<FadeEffect>> FadeEffectExt for O
[src]fn get_border(&self) -> (u32, u32, u32, u32)
[src]
get_border: @effect: A #FadeEffect @top: (out) (allow-none): The upper border, in pixels @right: (out) (allow-none): The right border, in pixels @bottom: (out) (allow-none): The lower border, in pixels @left: (out) (allow-none): The left border, in pixels
Retrieves the border values for @effect.
fn get_bounds(&self) -> (i32, i32, u32, u32)
[src]
get_bounds: @effect: A #FadeEffect @x: (out) (allow-none): The x value of the effect bounds, in pixels @y: (out) (allow-none): The y value of the effect bounds, in pixels @width: (out) (allow-none): The width of the effect bounds, in pixels, or %0 @height: (out) (allow-none): The height of the effect bounds, in pixels, or %0
Retrieves the bounding box of the effect.
fn get_color(&self) -> Color
[src]
get_color: @effect: A #FadeEffect @color: (out): A #Color to store the color in
Retrieves the color used for the fade effect.
fn set_border(&self, top: u32, right: u32, bottom: u32, left: u32)
[src]
set_border: @effect: A #FadeEffect @top: The upper border, in pixels @right: The right border, in pixels @bottom: The lower border, in pixels @left: The left border, in pixels
Sets the border to be used for the fading effect. This is the number of pixels on each side of the effect that should be used to fade.
fn set_bounds(&self, x: i32, y: i32, width: u32, height: u32)
[src]
set_bounds: @effect: A #FadeEffect @x: The x value of the effect bounds, in pixels @y: The y value of the effect bounds, in pixels @width: The width of the effect bounds, in pixels, or %0 @height: The height of the effect bounds, in pixels, or %0
Sets the bounding box of the effect. The effect will essentially treat this box as a clipping rectangle. Setting width or height to %0 will use the width or height of the #Actor the effect is attached to.
fn set_color(&self, color: &Color)
[src]
set_color: @effect: A #FadeEffect @color: A #Color
Sets the color of the fade effect. The effect will fade out towards the set border to this color.
fn get_property_border_bottom(&self) -> u32
[src]
fn set_property_border_bottom(&self, border_bottom: u32)
[src]
fn get_property_border_left(&self) -> u32
[src]
fn set_property_border_left(&self, border_left: u32)
[src]
fn get_property_border_right(&self) -> u32
[src]
fn set_property_border_right(&self, border_right: u32)
[src]
fn get_property_border_top(&self) -> u32
[src]
fn set_property_border_top(&self, border_top: u32)
[src]
fn get_property_bounds_height(&self) -> u32
[src]
fn set_property_bounds_height(&self, bounds_height: u32)
[src]
fn get_property_bounds_width(&self) -> u32
[src]
fn set_property_bounds_width(&self, bounds_width: u32)
[src]
fn get_property_bounds_x(&self) -> i32
[src]
fn set_property_bounds_x(&self, bounds_x: i32)
[src]
fn get_property_bounds_y(&self) -> i32
[src]
fn set_property_bounds_y(&self, bounds_y: i32)
[src]
fn get_property_freeze_update(&self) -> bool
[src]
fn set_property_freeze_update(&self, freeze_update: bool)
[src]
fn connect_property_border_bottom_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_left_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_right_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_border_top_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_x_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_bounds_y_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_freeze_update_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId