From d5ce49c8b0a2a7c28e1794022424fddc2369f900 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 23 Feb 2014 20:04:33 -0500 Subject: Added the preferred widget size basework and its GTK+ implementation. --- sysdata.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdata.go') diff --git a/sysdata.go b/sysdata.go index adef516..9659a1e 100644 --- a/sysdata.go +++ b/sysdata.go @@ -61,6 +61,9 @@ func (c *cSysData) setWindowSize(int, int) error { func (c *cSysData) delete(int) error { panic(runtime.GOOS + " sysData does not define delete()") } +func (c *cSysData) preferredSize() (int, int) { + panic(runtime.GOOS + " sysData does not define preferredSize()") +} // signal sends the event signal. This raise is done asynchronously to avoid deadlocking the UI task. // Thanks skelterjohn for this techinque: if we can't queue any more events, drop them -- cgit v1.2.3