[go: up one dir, main page]

MonitorExt

Trait MonitorExt 

Source
pub trait MonitorExt: IsA<Monitor> + 'static {
Show 26 methods // Provided methods fn connector(&self) -> Option<GString> { ... } fn description(&self) -> Option<GString> { ... } fn display(&self) -> Display { ... } fn geometry(&self) -> Rectangle { ... } fn height_mm(&self) -> i32 { ... } fn manufacturer(&self) -> Option<GString> { ... } fn model(&self) -> Option<GString> { ... } fn refresh_rate(&self) -> i32 { ... } fn scale(&self) -> f64 { ... } fn scale_factor(&self) -> i32 { ... } fn subpixel_layout(&self) -> SubpixelLayout { ... } fn width_mm(&self) -> i32 { ... } fn is_valid(&self) -> bool { ... } fn connect_invalidate<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_connector_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_geometry_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_height_mm_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_manufacturer_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_refresh_rate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scale_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_scale_factor_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_subpixel_layout_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_valid_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_width_mm_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

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

Source

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

Available on crate feature v4_10 only.
Source

fn display(&self) -> Display

Source

fn geometry(&self) -> Rectangle

Source

fn height_mm(&self) -> i32

Source

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

Source

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

Source

fn refresh_rate(&self) -> i32

Source

fn scale(&self) -> f64

Available on crate feature v4_14 only.
Source

fn scale_factor(&self) -> i32

Source

fn subpixel_layout(&self) -> SubpixelLayout

Source

fn width_mm(&self) -> i32

Source

fn is_valid(&self) -> bool

Source

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

Source

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

Source

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

Available on crate feature v4_10 only.
Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Available on crate feature v4_14 only.
Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§