widgets

package
Version: v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	widget.Button
	// contains filtered or unexported fields
}

Card holds the state for a card widget

func (*Card) ClearHover

func (c *Card) ClearHover()

ClearHover ensures that this cardstate returns to its default no-hover state.

func (*Card) Hovered

func (c *Card) Hovered(gtx *layout.Context) bool

Hovered returns whether this widget was hovered over during the last frame

func (*Card) Layout

func (c *Card) Layout(gtx *layout.Context)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL