Trait gdk4::prelude::MonitorExt
source · [−]pub trait MonitorExt: 'static {
Show 22 methods
fn connector(&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_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_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_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;
}
Required Methods
source
fn manufacturer(&self) -> Option<GString>
source
fn refresh_rate(&self) -> i32
source
fn scale_factor(&self) -> i32
source
fn subpixel_layout(&self) -> SubpixelLayout
source
fn connect_invalidate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_connector_notify<F: Fn(&Self) + 'static>(
fn connect_connector_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_geometry_notify<F: Fn(&Self) + 'static>(
fn connect_geometry_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_height_mm_notify<F: Fn(&Self) + 'static>(
fn connect_height_mm_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_manufacturer_notify<F: Fn(&Self) + 'static>(
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
sourcefn connect_refresh_rate_notify<F: Fn(&Self) + 'static>(
fn connect_refresh_rate_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_scale_factor_notify<F: Fn(&Self) + 'static>(
fn connect_scale_factor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_subpixel_layout_notify<F: Fn(&Self) + 'static>(
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
sourcefn connect_width_mm_notify<F: Fn(&Self) + 'static>(