greeter

package
v0.0.0-...-d997c1c Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: GPL-3.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package greeter retrieves information about the Lomiri Greeter using Lomiri's dbus interface

Index

Constants

This section is empty.

Variables

View Source
var BusAddress bus.Address = bus.Address{
	Interface: "com.lomiri.LomiriGreeter",
	Path:      "/com/lomiri/LomiriGreeter",
	Name:      "com.lomiri.LomiriGreeter",
}

Well known address for the Greeter API

Functions

This section is empty.

Types

type Greeter

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

Greeter encapsulates info needed to call out to the Greeter API

func New

func New(endp bus.Endpoint, log logger.Logger) *Greeter

New returns a new Greeter that'll use the provided bus.Endpoint

func (*Greeter) IsActive

func (greeter *Greeter) IsActive() bool

GetGreeter returns the window stack state

Jump to

Keyboard shortcuts

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