Trait clutter::LayoutManagerExt[][src]

pub trait LayoutManagerExt: 'static {
    fn allocate<P: IsA<Container>>(
        &self,
        container: &P,
        allocation: &ActorBox,
        flags: AllocationFlags
    );
fn get_child_meta<P: IsA<Container>, Q: IsA<Actor>>(
        &self,
        container: &P,
        actor: &Q
    ) -> Option<LayoutMeta>;
fn get_preferred_height<P: IsA<Container>>(
        &self,
        container: &P,
        for_width: f32
    ) -> (f32, f32);
fn get_preferred_width<P: IsA<Container>>(
        &self,
        container: &P,
        for_height: f32
    ) -> (f32, f32);
fn layout_changed(&self);
fn set_container<P: IsA<Container>>(&self, container: Option<&P>);
fn connect_layout_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn allocate<P: IsA<Container>>(
    &self,
    container: &P,
    allocation: &ActorBox,
    flags: AllocationFlags
)
[src]

fn get_child_meta<P: IsA<Container>, Q: IsA<Actor>>(
    &self,
    container: &P,
    actor: &Q
) -> Option<LayoutMeta>
[src]

fn get_preferred_height<P: IsA<Container>>(
    &self,
    container: &P,
    for_width: f32
) -> (f32, f32)
[src]

fn get_preferred_width<P: IsA<Container>>(
    &self,
    container: &P,
    for_height: f32
) -> (f32, f32)
[src]

fn layout_changed(&self)[src]

fn set_container<P: IsA<Container>>(&self, container: Option<&P>)[src]

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

Loading content...

Implementors

impl<O: IsA<LayoutManager>> LayoutManagerExt for O[src]

Loading content...