mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
ui/widget: add package documentation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// SPDX-License-Identifier: Unlicense OR MIT
|
// SPDX-License-Identifier: Unlicense OR MIT
|
||||||
|
|
||||||
|
// Package widget implements common widgets.
|
||||||
package widget
|
package widget
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -11,6 +12,7 @@ import (
|
|||||||
"gioui.org/ui/paint"
|
"gioui.org/ui/paint"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Image is a widget that displays an image.
|
||||||
type Image struct {
|
type Image struct {
|
||||||
// Src is the image to display.
|
// Src is the image to display.
|
||||||
Src image.Image
|
Src image.Image
|
||||||
|
|||||||
Reference in New Issue
Block a user