diff options
author | Alexander Neumann <an2048@gmail.com> | 2012-10-05 15:30:07 +0200 |
---|---|---|
committer | Alexander Neumann <an2048@gmail.com> | 2012-10-05 15:30:07 +0200 |
commit | a8cf8f3e42556e24ee5b95ed2e48cd91151dc87f (patch) | |
tree | 3760dbc0a592315187ba9f407377053a21cb62ed /groupbox.go | |
parent | declarative: Make Dialog and MainWindow not implement Widget (diff) | |
download | wireguard-windows-a8cf8f3e42556e24ee5b95ed2e48cd91151dc87f.tar.xz wireguard-windows-a8cf8f3e42556e24ee5b95ed2e48cd91151dc87f.zip |
Add initial support for data binding
Diffstat (limited to 'groupbox.go')
-rw-r--r-- | groupbox.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/groupbox.go b/groupbox.go index a47743ff..a2507794 100644 --- a/groupbox.go +++ b/groupbox.go @@ -105,6 +105,14 @@ func (gb *GroupBox) SetFont(value *Font) { } } +func (gb *GroupBox) DataBinder() *DataBinder { + return gb.composite.dataBinder +} + +func (gb *GroupBox) SetDataBinder(dataBinder *DataBinder) { + gb.composite.SetDataBinder(dataBinder) +} + func (gb *GroupBox) Title() string { return widgetText(gb.hWndGroupBox) } |