Trait components::StackChildExt [−][src]
pub trait StackChildExt: 'static {
Show methods
fn get_crop(&self) -> bool;
fn set_crop(&self, crop: bool);
fn get_fit(&self) -> bool;
fn set_fit(&self, fit: bool);
fn get_x_align(&self) -> Align;
fn set_x_align(&self, x_align: Align);
fn get_x_fill(&self) -> bool;
fn set_x_fill(&self, x_fill: bool);
fn get_y_align(&self) -> Align;
fn set_y_align(&self, y_align: Align);
fn get_y_fill(&self) -> bool;
fn set_y_fill(&self, y_fill: bool);
fn connect_property_crop_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_fit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_x_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_x_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_y_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_y_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required methods
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
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.
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
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.
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
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.
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.
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.
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.
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.
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
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.
fn connect_property_crop_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_fit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_x_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_x_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_y_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_y_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: Is<StackChild>> StackChildExt for O[src]
impl<O: Is<StackChild>> StackChildExt for O[src]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
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.
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
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.
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
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.
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.
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.
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.
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.
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
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.
fn connect_property_crop_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_fit_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_x_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_x_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_y_align_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_y_fill_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId