Trait gtk4::prelude::FixedExt

source ·
pub trait FixedExt: 'static {
    // Required methods
    fn child_position(&self, widget: &impl IsA<Widget>) -> (f64, f64);
    fn child_transform(&self, widget: &impl IsA<Widget>) -> Option<Transform>;
    fn move_(&self, widget: &impl IsA<Widget>, x: f64, y: f64);
    fn put(&self, widget: &impl IsA<Widget>, x: f64, y: f64);
    fn remove(&self, widget: &impl IsA<Widget>);
    fn set_child_transform(
        &self,
        widget: &impl IsA<Widget>,
        transform: Option<&Transform>
    );
}

Required Methods§

source

fn child_position(&self, widget: &impl IsA<Widget>) -> (f64, f64)

source

fn child_transform(&self, widget: &impl IsA<Widget>) -> Option<Transform>

source

fn move_(&self, widget: &impl IsA<Widget>, x: f64, y: f64)

source

fn put(&self, widget: &impl IsA<Widget>, x: f64, y: f64)

source

fn remove(&self, widget: &impl IsA<Widget>)

source

fn set_child_transform( &self, widget: &impl IsA<Widget>, transform: Option<&Transform> )

Implementors§

source§

impl<O: IsA<Fixed>> FixedExt for O