diff --git a/ClickableWidgets.go b/ClickableWidgets.go index 0538feb7..e6e6704d 100644 --- a/ClickableWidgets.go +++ b/ClickableWidgets.go @@ -225,6 +225,7 @@ func ImageButton(texture *Texture) *ImageButtonWidget { } } +// ID allows to manually set widget's id. func (b *ImageButtonWidget) ID(id ID) *ImageButtonWidget { b.id = id return b