pub trait FontButtonExt:
IsA<FontButton>
+ Sealed
+ 'static {
Show 16 methods
// Provided methods
fn shows_size(&self) -> bool { ... }
fn shows_style(&self) -> bool { ... }
fn title(&self) -> Option<GString> { ... }
fn uses_font(&self) -> bool { ... }
fn uses_size(&self) -> bool { ... }
fn set_show_size(&self, show_size: bool) { ... }
fn set_show_style(&self, show_style: bool) { ... }
fn set_title(&self, title: &str) { ... }
fn set_use_font(&self, use_font: bool) { ... }
fn set_use_size(&self, use_size: bool) { ... }
fn connect_font_set<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_show_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_use_font_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_use_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn shows_size(&self) -> bool
fn shows_style(&self) -> bool
fn title(&self) -> Option<GString>
fn uses_font(&self) -> bool
fn uses_size(&self) -> bool
fn set_show_size(&self, show_size: bool)
fn set_show_style(&self, show_style: bool)
fn set_title(&self, title: &str)
fn set_use_font(&self, use_font: bool)
fn set_use_size(&self, use_size: bool)
fn connect_font_set<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_show_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_style_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_use_font_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_use_size_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.