diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-23 20:04:33 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-23 20:04:33 -0500 |
| commit | d5ce49c8b0a2a7c28e1794022424fddc2369f900 (patch) | |
| tree | 08a596d92dc4e084f552ea18fc22bcac468144f6 /sysdata.go | |
| parent | a0c951cca9a89340785dbdd1c24e1517e18608b6 (diff) | |
Added the preferred widget size basework and its GTK+ implementation.
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
