w95 ~master (2026-07-04T19:52:14.0603727)
Dub
Repo
IconButton
w95
icon_button
Button that optionally displays an icon to its left.
@
safe
class
IconButton : FrameButton {
NodeSlot
!
ImageView
icon
;
NodeSlot
!
Label
label
;
this
(ImageView icon, string text, void delegate() @(safe) callback);
this
(ImageView icon, Label text, void delegate() @(safe) callback);
void
drawImpl
(Rectangle outer, Rectangle inner);
}
Constructors
this
this
(ImageView icon, string text, void delegate() @(safe) callback)
Undocumented in source.
this
this
(ImageView icon, Label text, void delegate() @(safe) callback)
Undocumented in source.
Members
Functions
drawImpl
void
drawImpl
(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
icon
NodeSlot
!
ImageView
icon
;
Undocumented in source.
label
NodeSlot
!
Label
label
;
Undocumented in source.
Meta
Source
See Implementation
w95
icon_button
aliases
iconButton
classes
IconButton
Button that optionally displays an icon to its left.