Trait ux::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); }
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]
F: 'static + Fn(&Self),
pub fn connect_property_border_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_color_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_has_border_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> RectangleExt for O where
O: IsA<Rectangle>,
[src]
impl<O> RectangleExt for O where
O: IsA<Rectangle>,
[src]pub fn get_property_border_color(&self) -> Option<InternalColor>
[src]
pub fn set_property_border_color(&self, border_color: Option<&InternalColor>)
[src]
pub fn get_property_border_width(&self) -> u32
[src]
pub fn set_property_border_width(&self, border_width: u32)
[src]
pub fn get_property_color(&self) -> Option<InternalColor>
[src]
pub fn set_property_color(&self, color: Option<&InternalColor>)
[src]
pub fn get_property_has_border(&self) -> bool
[src]
pub fn set_property_has_border(&self, has_border: bool)
[src]
pub fn connect_property_border_color_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_border_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_color_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_has_border_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),