Struct imgui::ColorButton[][src]

#[must_use]
pub struct ColorButton<'ui, 'p> { /* fields omitted */ }

Builder for a color button widget.

Methods

impl<'ui, 'p> ColorButton<'ui, 'p>
[src]

Constructs a new color button builder.

Replaces all current settings with the given flags.

Enables/disables the use of the alpha component.

Enables/disables the tooltip that appears when hovering the preview.

Sets the preview style.

Sets the button size.

Use 0.0 for width and/or height to use the default size.

Builds the color button.

Auto Trait Implementations

impl<'ui, 'p> Send for ColorButton<'ui, 'p>

impl<'ui, 'p> Sync for ColorButton<'ui, 'p>