Split element core into two separate structs - public and private

The public core half can be directly embedded, which means no
wrapper methods!
This commit is contained in:
2023-01-09 13:06:55 -05:00
parent 1526772a05
commit d1ec5f2cec
3 changed files with 52 additions and 92 deletions

View File

@@ -121,7 +121,7 @@ type Window interface {
// SetIcon taks in a list different sizes of the same icon and selects
// the best one to display on the window title bar, dock, or whatever is
// applicable for the given backend. This method might have no effect
// with some backends.
// for some backends.
SetIcon (sizes []image.Image)
// Show shows the window. The window starts off hidden, so this must be