softdark

package
v0.0.0-...-50eca41 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DarkForm

type DarkForm struct {
	Window    *gtk.Window
	IsVisible bool
}

func (*DarkForm) Hide

func (d *DarkForm) Hide()

func (*DarkForm) Show

func (d *DarkForm) Show(info monitorInfo.MonitorInfo)

type MainForm

type MainForm struct {
	Window         *gtk.ApplicationWindow
	LastAllocation *gtk.Allocation
	Area           *MonitorArea
}

func NewMainForm

func NewMainForm() *MainForm

NewMainForm : Creates a new MainForm object

func (*MainForm) OpenMainForm

func (m *MainForm) OpenMainForm(app *gtk.Application)

OpenMainForm : Opens the MainForm window

type Monitor

type Monitor struct {
	Button *gtk.Button
	Info   monitorInfo.MonitorInfo
	Form   DarkForm
}

type MonitorArea

type MonitorArea struct {
	Area           *gtk.Fixed
	Monitors       []*Monitor
	LastAllocation *gtk.Allocation
}

func NewSoftDark

func NewSoftDark(area *gtk.Fixed) *MonitorArea

func (*MonitorArea) Init

func (s *MonitorArea) Init()

type SoftBuilder

type SoftBuilder struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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