Trait gtk4::prelude::FrameExt

source ·
pub trait FrameExt: 'static {
Show 14 methods // Required methods fn child(&self) -> Option<Widget>; fn label(&self) -> Option<GString>; fn label_align(&self) -> f32; fn label_widget(&self) -> Option<Widget>; fn set_child(&self, child: Option<&impl IsA<Widget>>); fn set_label(&self, label: Option<&str>); fn set_label_align(&self, xalign: f32); fn set_label_widget(&self, label_widget: Option<&impl IsA<Widget>>); fn label_xalign(&self) -> f32; fn set_label_xalign(&self, label_xalign: f32); fn connect_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_label_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

fn child(&self) -> Option<Widget>

source

fn label(&self) -> Option<GString>

source

fn label_align(&self) -> f32

source

fn label_widget(&self) -> Option<Widget>

source

fn set_child(&self, child: Option<&impl IsA<Widget>>)

source

fn set_label(&self, label: Option<&str>)

source

fn set_label_align(&self, xalign: f32)

source

fn set_label_widget(&self, label_widget: Option<&impl IsA<Widget>>)

source

fn label_xalign(&self) -> f32

source

fn set_label_xalign(&self, label_xalign: f32)

source

fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_label_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§

source§

impl<O: IsA<Frame>> FrameExt for O