Trait components::RectangleExt[][src]

pub trait RectangleExt: 'static {
    pub fn get_property_border_color(&self) -> Option<InternalColor>;
pub fn set_property_border_color(
        &self,
        border_color: Option<&InternalColor>
    );
pub fn get_property_border_width(&self) -> u32;
pub fn set_property_border_width(&self, border_width: u32);
pub fn get_property_color(&self) -> Option<InternalColor>;
pub fn set_property_color(&self, color: Option<&InternalColor>);
pub fn get_property_has_border(&self) -> bool;
pub fn set_property_has_border(&self, has_border: bool);
pub fn connect_property_border_color_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_border_width_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_color_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_has_border_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Trait containing all Rectangle methods.

Implementors

Rectangle

Required methods

pub fn get_property_border_color(&self) -> Option<InternalColor>[src]

The color of the border of the rectangle.

pub fn set_property_border_color(&self, border_color: Option<&InternalColor>)[src]

The color of the border of the rectangle.

pub fn get_property_border_width(&self) -> u32[src]

The width of the border of the rectangle, in pixels.

pub fn set_property_border_width(&self, border_width: u32)[src]

The width of the border of the rectangle, in pixels.

pub fn get_property_color(&self) -> Option<InternalColor>[src]

The color of the rectangle.

pub fn set_property_color(&self, color: Option<&InternalColor>)[src]

The color of the rectangle.

pub fn get_property_has_border(&self) -> bool[src]

Whether the Rectangle should be displayed with a border.

pub fn set_property_has_border(&self, has_border: bool)[src]

Whether the Rectangle should be displayed with a border.

pub fn connect_property_border_color_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_border_width_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_color_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_has_border_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

Loading content...

Implementors

impl<O> RectangleExt for O where
    O: IsA<Rectangle>, 
[src]

Loading content...