actionbutton

package
v0.0.0-...-5751b5a Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package actionbutton contains GTK4 buttons that are layouted differently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button struct {
	*gtk.Button
	Icon  *gtk.Image
	Label *gtk.Label
}

Button is an action button that contains an icon and a label.

func NewButton

func NewButton(label locale.Localized, icon string, pos gtk.PositionType) *Button

NewButton creates a new button. The icon's position is determined by the given position type.

Jump to

Keyboard shortcuts

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