Trait components::BoxLayoutChildExt[][src]

pub trait BoxLayoutChildExt: 'static {
Show methods fn get_property_expand(&self) -> bool;
fn set_property_expand(&self, expand: bool);
fn get_property_x_align(&self) -> Align;
fn set_property_x_align(&self, x_align: Align);
fn get_property_x_fill(&self) -> bool;
fn set_property_x_fill(&self, x_fill: bool);
fn get_property_y_align(&self) -> Align;
fn set_property_y_align(&self, y_align: Align);
fn get_property_y_fill(&self) -> bool;
fn set_property_y_fill(&self, y_fill: bool);
fn connect_property_expand_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_property_expand(&self) -> bool[src]

get_expand: @box_layout: A #BoxLayout @child: A #Actor

Get the value of the #BoxLayoutChild:expand property

Returns: the current value of the “expand” property

fn set_property_expand(&self, expand: bool)[src]

set_expand: @box_layout: A #BoxLayout @child: A #Actor @expand: A #gboolean

Set the value of the #BoxLayoutChild:expand property.

fn get_property_x_align(&self) -> Align[src]

get_x_align: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_x_align: @box_layout: A #BoxLayout @child: A #Actor @x_align: An #Align

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

fn get_property_x_fill(&self) -> bool[src]

get_x_fill: @box_layout: A #BoxLayout @child: A #Actor

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

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

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

set_x_fill: @box_layout: A #BoxLayout @child: A #Actor @x_fill: A #gboolean

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

fn get_property_y_align(&self) -> Align[src]

get_y_align: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_y_align: @box_layout: An #BoxLayout @child: A #Actor @y_align: An #Align

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

fn get_property_y_fill(&self) -> bool[src]

get_y_fill: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_y_fill: @box_layout: An #BoxLayout @child: A #Actor @y_fill: A #gboolean

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

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

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

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

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

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

Loading content...

Implementors

impl<O: Is<BoxLayoutChild>> BoxLayoutChildExt for O[src]

fn get_property_expand(&self) -> bool[src]

get_expand: @box_layout: A #BoxLayout @child: A #Actor

Get the value of the #BoxLayoutChild:expand property

Returns: the current value of the “expand” property

fn set_property_expand(&self, expand: bool)[src]

set_expand: @box_layout: A #BoxLayout @child: A #Actor @expand: A #gboolean

Set the value of the #BoxLayoutChild:expand property.

fn get_property_x_align(&self) -> Align[src]

get_x_align: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_x_align: @box_layout: A #BoxLayout @child: A #Actor @x_align: An #Align

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

fn get_property_x_fill(&self) -> bool[src]

get_x_fill: @box_layout: A #BoxLayout @child: A #Actor

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

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

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

set_x_fill: @box_layout: A #BoxLayout @child: A #Actor @x_fill: A #gboolean

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

fn get_property_y_align(&self) -> Align[src]

get_y_align: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_y_align: @box_layout: An #BoxLayout @child: A #Actor @y_align: An #Align

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

fn get_property_y_fill(&self) -> bool[src]

get_y_fill: @box_layout: An #BoxLayout @child: A #Actor

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

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

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

set_y_fill: @box_layout: An #BoxLayout @child: A #Actor @y_fill: A #gboolean

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

Loading content...