Trait gtk4::prelude::FixedExt

source ·
pub trait FixedExt: IsA<Fixed> + Sealed + 'static {
    // Provided 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>
    ) { ... }
}

Provided 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> )

Object Safety§

This trait is not object safe.

Implementors§

source§

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