confmenu

package
v0.0.0-...-0caaa62 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Overview

Package confmenu provides a menu widget for the GUI.

Only contains save and close buttons but can embed more widgets (as a box).

Index

Constants

This section is empty.

Variables

IconSize defines the default icon size.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	ClickedSave()
	ClickedQuit()
	Select(page string, item ...string) bool
}

Controller defines methods used on the main widget / data source by this widget and its sons.

type MenuBar struct {
	gtk.Box // Container is first level. Act as (at least) a GtkBox.

	Save *gtk.Button
	// contains filtered or unexported fields
}

MenuBar is the config window menu.

func New

func New(control Controller) *MenuBar

New creates the config menu with add or save buttons.

Jump to

Keyboard shortcuts

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