unitygreeter

package
v0.0.0-...-2fed64a Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: GPL-3.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package unitygreeter retrieves information about the Unity Greeter using Unity's dbus interface

Index

Constants

This section is empty.

Variables

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

Well known address for the UnityGreeter API

Functions

This section is empty.

Types

type UnityGreeter

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

UnityGreeter encapsulates info needed to call out to the UnityGreeter API

func New

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

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

func (*UnityGreeter) IsActive

func (greeter *UnityGreeter) IsActive() bool

GetUnityGreeter returns the window stack state

Jump to

Keyboard shortcuts

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