inhibit_hint

package
v0.0.0-...-9ed771f Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetFunc

type GetFunc func(why string) string

type HintInfo

type HintInfo struct {
	Name string
	Icon string
	Why  string
}

type Object

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

func New

func New(domain string) *Object

func (*Object) Export

func (o *Object) Export(service *dbusutil.Service) error

func (*Object) Get

func (o *Object) Get(locale string, why string) (hint *HintInfo, busErr *dbus.Error)

func (*Object) GetExportedMethods

func (v *Object) GetExportedMethods() dbusutil.ExportedMethods

func (*Object) GetInterfaceName

func (o *Object) GetInterfaceName() string

func (*Object) SetIcon

func (o *Object) SetIcon(icon string)

func (*Object) SetIconFunc

func (o *Object) SetIconFunc(fn GetFunc)

func (*Object) SetName

func (o *Object) SetName(name string)

func (*Object) SetNameFunc

func (o *Object) SetNameFunc(fn GetFunc)

func (*Object) StopExport

func (o *Object) StopExport(service *dbusutil.Service) error

Jump to

Keyboard shortcuts

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