Type Alias cosmic::widget::IconButton
source · pub type IconButton<'a, Message> = Builder<'a, Message, Icon>;
Aliased Type§
struct IconButton<'a, Message> { /* private fields */ }
Implementations§
source§impl<'a, Message> Button<'a, Message>
impl<'a, Message> Button<'a, Message>
pub fn new(icon: Icon) -> Self
sourcepub fn extra_small(self) -> Self
pub fn extra_small(self) -> Self
Applies the Extra Small button size preset.
sourcepub fn extra_large(self) -> Self
pub fn extra_large(self) -> Self
Applies the Extra Large button size preset.