~eliasnaur/gio

ref: f08568a6dfc3890dcc8ea76c11f1a4cd436a57c1 gio/widget/enum.go -rw-r--r-- 926 bytes
widget: report whether Value changed after Enum.Update and Bool.Update

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget,widget/material: export Enum.Value

The Value method both updated the enum value and returned it.

In order to access the current value withoutm, expose the Value
field of the enum and rename the method to Update. As a bonus we
can get rid of the SetValue method as well.

Updates gio#96

Signed-off-by: Elias Naur <mail@eliasnaur.com>
089ae31f — Alexander Arin 1 year, 11 months ago
widgets, widgets/material: add RadioButton & Enum

Signed-off-by: Alexander Arin <fralx@yandex.ru>