Trait ux::StackChildExt[][src]

pub trait StackChildExt: 'static {
Show methods pub fn get_crop(&self) -> bool;
pub fn set_crop(&self, crop: bool);
pub fn get_fit(&self) -> bool;
pub fn set_fit(&self, fit: bool);
pub fn get_x_align(&self) -> Align;
pub fn set_x_align(&self, x_align: Align);
pub fn get_x_fill(&self) -> bool;
pub fn set_x_fill(&self, x_fill: bool);
pub fn get_y_align(&self) -> Align;
pub fn set_y_align(&self, y_align: Align);
pub fn get_y_fill(&self) -> bool;
pub fn set_y_fill(&self, y_fill: bool);
pub fn connect_property_crop_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_fit_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_x_align_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_x_fill_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_y_align_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_y_fill_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
}

Required methods

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

get_crop: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:fit property.

Returns: the current value of the #StackChild:crop property

pub fn set_crop(&self, crop: bool)[src]

set_crop: @stack: An #Stack @child: A #Actor @crop: A #gboolean

Set the value of the #StackChild:crop property.

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

get_fit: @stack: An #Stack @child: A #Actor

  • Get the value of the #StackChild:fit property.

Returns: the current value of the #StackChild:fit property

pub fn set_fit(&self, fit: bool)[src]

set_fit: @stack: An #Stack @child: A #Actor @fit: A #gboolean

Set the value of the #StackChild:fit property.

pub fn get_x_align(&self) -> Align[src]

get_x_align: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:x-align property

Returns: the current value of the “x-align” property

pub fn set_x_align(&self, x_align: Align)[src]

set_x_align: @stack: A #Stack @child: A #Actor @x_align: An #Align

Set the value of the #StackChild:x-align property.

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

get_x_fill: @stack: A #Stack @child: A #Actor

Get the value of the #StackChild:x-fill property.

Returns: the current value of the “x-fill” property.

pub fn set_x_fill(&self, x_fill: bool)[src]

set_x_fill: @stack: A #Stack @child: A #Actor @x_fill: A #gboolean

Set the value of the #StackChild:x-fill property.

pub fn get_y_align(&self) -> Align[src]

get_y_align: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:y-align property.

Returns: the current value of the “y-align” property.

pub fn set_y_align(&self, y_align: Align)[src]

set_y_align: @stack: An #Stack @child: A #Actor @y_align: An #Align

Set the value of the #StackChild:y-align property.

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

get_y_fill: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:y-fill property

Returns: the current value of the “y-fill” property

pub fn set_y_fill(&self, y_fill: bool)[src]

set_y_fill: @stack: An #Stack @child: A #Actor @y_fill: A #gboolean

Set the value of the #StackChild:y-fill property.

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

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

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

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

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

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

Loading content...

Implementors

impl<O> StackChildExt for O where
    O: Is<StackChild>, 
[src]

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

get_crop: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:fit property.

Returns: the current value of the #StackChild:crop property

pub fn set_crop(&self, crop: bool)[src]

set_crop: @stack: An #Stack @child: A #Actor @crop: A #gboolean

Set the value of the #StackChild:crop property.

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

get_fit: @stack: An #Stack @child: A #Actor

  • Get the value of the #StackChild:fit property.

Returns: the current value of the #StackChild:fit property

pub fn set_fit(&self, fit: bool)[src]

set_fit: @stack: An #Stack @child: A #Actor @fit: A #gboolean

Set the value of the #StackChild:fit property.

pub fn get_x_align(&self) -> Align[src]

get_x_align: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:x-align property

Returns: the current value of the “x-align” property

pub fn set_x_align(&self, x_align: Align)[src]

set_x_align: @stack: A #Stack @child: A #Actor @x_align: An #Align

Set the value of the #StackChild:x-align property.

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

get_x_fill: @stack: A #Stack @child: A #Actor

Get the value of the #StackChild:x-fill property.

Returns: the current value of the “x-fill” property.

pub fn set_x_fill(&self, x_fill: bool)[src]

set_x_fill: @stack: A #Stack @child: A #Actor @x_fill: A #gboolean

Set the value of the #StackChild:x-fill property.

pub fn get_y_align(&self) -> Align[src]

get_y_align: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:y-align property.

Returns: the current value of the “y-align” property.

pub fn set_y_align(&self, y_align: Align)[src]

set_y_align: @stack: An #Stack @child: A #Actor @y_align: An #Align

Set the value of the #StackChild:y-align property.

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

get_y_fill: @stack: An #Stack @child: A #Actor

Get the value of the #StackChild:y-fill property

Returns: the current value of the “y-fill” property

pub fn set_y_fill(&self, y_fill: bool)[src]

set_y_fill: @stack: An #Stack @child: A #Actor @y_fill: A #gboolean

Set the value of the #StackChild:y-fill property.

Loading content...