Struct gtk4::builders::FontDialogBuilder
source · pub struct FontDialogBuilder { /* private fields */ }
Available on crate feature
v4_10
only.Expand description
A builder-pattern type to construct FontDialog
objects.
Implementations§
source§impl FontDialogBuilder
impl FontDialogBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new FontDialogBuilder
.
sourcepub fn build(self) -> FontDialog
pub fn build(self) -> FontDialog
Build the FontDialog
.
pub fn filter(self, filter: &impl IsA<Filter>) -> Self
pub fn font_map(self, font_map: &impl IsA<FontMap>) -> Self
pub fn language(self, language: &Language) -> Self
pub fn modal(self, modal: bool) -> Self
pub fn title(self, title: &str) -> Self
Trait Implementations§
source§impl Clone for FontDialogBuilder
impl Clone for FontDialogBuilder
source§fn clone(&self) -> FontDialogBuilder
fn clone(&self) -> FontDialogBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for FontDialogBuilder
impl Default for FontDialogBuilder
source§fn default() -> FontDialogBuilder
fn default() -> FontDialogBuilder
Returns the “default value” for a type. Read more