Crate zng_wgt_button
source ·Structs§
- Button context.
W
A clickable container.- Arguments for
cmd_tooltip_fn
. W
Button default style.W
Button light style.W
Button link style.W
Primary button style.
Statics§
- Widget function used when
cmd
is set andchild
is not. - Optional parameter for the button to use when notifying command.
- Widget function used when
cmd
is set andtooltip_fn
,tooltip
are not set. - Contextual style variable.
Functions§
c
Sets theCommand
the button represents.P
Optional command parameter for the button to use when notifyingcmd
.P
Sets the widget function used to produce the button tooltip whencmd
is set and tooltip is not.- Default
CMD_CHILD_FN_VAR
. - Default
CMD_TOOLTIP_FN_VAR
. P
Extends or replaces the widget style.