Struct gtk4::builders::CellRendererSpinBuilder
source · [−]pub struct CellRendererSpinBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct CellRendererSpin
objects.
Implementations
sourceimpl CellRendererSpinBuilder
impl CellRendererSpinBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new CellRendererSpinBuilder
.
sourcepub fn build(self) -> CellRendererSpin
pub fn build(self) -> CellRendererSpin
Build the CellRendererSpin
.
pub fn adjustment(self, adjustment: &impl IsA<Adjustment>) -> Self
pub fn climb_rate(self, climb_rate: f64) -> Self
pub fn digits(self, digits: u32) -> Self
pub fn align_set(self, align_set: bool) -> Self
pub fn alignment(self, alignment: Alignment) -> Self
pub fn attributes(self, attributes: &AttrList) -> Self
pub fn background(self, background: &str) -> Self
pub fn background_rgba(self, background_rgba: &RGBA) -> Self
pub fn background_set(self, background_set: bool) -> Self
pub fn editable(self, editable: bool) -> Self
pub fn editable_set(self, editable_set: bool) -> Self
pub fn ellipsize(self, ellipsize: EllipsizeMode) -> Self
pub fn ellipsize_set(self, ellipsize_set: bool) -> Self
pub fn family(self, family: &str) -> Self
pub fn family_set(self, family_set: bool) -> Self
pub fn font(self, font: &str) -> Self
pub fn font_desc(self, font_desc: &FontDescription) -> Self
pub fn foreground(self, foreground: &str) -> Self
pub fn foreground_rgba(self, foreground_rgba: &RGBA) -> Self
pub fn foreground_set(self, foreground_set: bool) -> Self
pub fn language(self, language: &str) -> Self
pub fn language_set(self, language_set: bool) -> Self
pub fn markup(self, markup: &str) -> Self
pub fn max_width_chars(self, max_width_chars: i32) -> Self
pub fn placeholder_text(self, placeholder_text: &str) -> Self
pub fn rise(self, rise: i32) -> Self
pub fn rise_set(self, rise_set: bool) -> Self
pub fn scale(self, scale: f64) -> Self
pub fn scale_set(self, scale_set: bool) -> Self
pub fn single_paragraph_mode(self, single_paragraph_mode: bool) -> Self
pub fn size(self, size: i32) -> Self
pub fn size_points(self, size_points: f64) -> Self
pub fn size_set(self, size_set: bool) -> Self
pub fn stretch(self, stretch: Stretch) -> Self
pub fn stretch_set(self, stretch_set: bool) -> Self
pub fn strikethrough(self, strikethrough: bool) -> Self
pub fn strikethrough_set(self, strikethrough_set: bool) -> Self
pub fn style(self, style: Style) -> Self
pub fn style_set(self, style_set: bool) -> Self
pub fn text(self, text: &str) -> Self
pub fn underline(self, underline: Underline) -> Self
pub fn underline_set(self, underline_set: bool) -> Self
pub fn variant(self, variant: Variant) -> Self
pub fn variant_set(self, variant_set: bool) -> Self
pub fn weight(self, weight: i32) -> Self
pub fn weight_set(self, weight_set: bool) -> Self
pub fn width_chars(self, width_chars: i32) -> Self
pub fn wrap_mode(self, wrap_mode: WrapMode) -> Self
pub fn wrap_width(self, wrap_width: i32) -> Self
pub fn cell_background(self, cell_background: &str) -> Self
pub fn cell_background_rgba(self, cell_background_rgba: &RGBA) -> Self
pub fn cell_background_set(self, cell_background_set: bool) -> Self
pub fn height(self, height: i32) -> Self
pub fn is_expanded(self, is_expanded: bool) -> Self
pub fn is_expander(self, is_expander: bool) -> Self
pub fn mode(self, mode: CellRendererMode) -> Self
pub fn sensitive(self, sensitive: bool) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn width(self, width: i32) -> Self
pub fn xalign(self, xalign: f32) -> Self
pub fn xpad(self, xpad: u32) -> Self
pub fn yalign(self, yalign: f32) -> Self
pub fn ypad(self, ypad: u32) -> Self
Trait Implementations
sourceimpl Clone for CellRendererSpinBuilder
impl Clone for CellRendererSpinBuilder
sourcefn clone(&self) -> CellRendererSpinBuilder
fn clone(&self) -> CellRendererSpinBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for CellRendererSpinBuilder
impl Default for CellRendererSpinBuilder
sourcefn default() -> CellRendererSpinBuilder
fn default() -> CellRendererSpinBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CellRendererSpinBuilder
impl !Send for CellRendererSpinBuilder
impl !Sync for CellRendererSpinBuilder
impl Unpin for CellRendererSpinBuilder
impl UnwindSafe for CellRendererSpinBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more