Struct gtk4::builders::ColorDialogBuilder
source · pub struct ColorDialogBuilder { /* private fields */ }
Available on crate feature
v4_10
only.Expand description
A builder-pattern type to construct ColorDialog
objects.
Implementations§
source§impl ColorDialogBuilder
impl ColorDialogBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ColorDialogBuilder
.
sourcepub fn build(self) -> ColorDialog
pub fn build(self) -> ColorDialog
Build the ColorDialog
.
pub fn modal(self, modal: bool) -> Self
pub fn title(self, title: &str) -> Self
pub fn with_alpha(self, with_alpha: bool) -> Self
Trait Implementations§
source§impl Clone for ColorDialogBuilder
impl Clone for ColorDialogBuilder
source§fn clone(&self) -> ColorDialogBuilder
fn clone(&self) -> ColorDialogBuilder
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 ColorDialogBuilder
impl Default for ColorDialogBuilder
source§fn default() -> ColorDialogBuilder
fn default() -> ColorDialogBuilder
Returns the “default value” for a type. Read more