wmswitcher

package
v0.0.0-...-17244d7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WMSwitcher

type WMSwitcher struct {
	proxy.Object
	// contains filtered or unexported fields
}

func NewWMSwitcher

func NewWMSwitcher(conn *dbus.Conn) *WMSwitcher

func (*WMSwitcher) AllowSwitch

func (v *WMSwitcher) AllowSwitch(flags dbus.Flags) (allow bool, err error)

func (*WMSwitcher) ConnectWMChanged

func (v *WMSwitcher) ConnectWMChanged(cb func(wmName string)) (dbusutil.SignalHandlerId, error)

func (*WMSwitcher) CurrentWM

func (v *WMSwitcher) CurrentWM(flags dbus.Flags) (wmName string, err error)

func (*WMSwitcher) GetInterfaceName_

func (*WMSwitcher) GetInterfaceName_() string

func (*WMSwitcher) GetObject_

func (v *WMSwitcher) GetObject_() *proxy.Object

func (*WMSwitcher) GoAllowSwitch

func (v *WMSwitcher) GoAllowSwitch(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*WMSwitcher) GoCurrentWM

func (v *WMSwitcher) GoCurrentWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*WMSwitcher) GoRequestSwitchWM

func (v *WMSwitcher) GoRequestSwitchWM(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*WMSwitcher) RequestSwitchWM

func (v *WMSwitcher) RequestSwitchWM(flags dbus.Flags) error

func (*WMSwitcher) StoreAllowSwitch

func (*WMSwitcher) StoreAllowSwitch(call *dbus.Call) (allow bool, err error)

func (*WMSwitcher) StoreCurrentWM

func (*WMSwitcher) StoreCurrentWM(call *dbus.Call) (wmName string, err error)

Jump to

Keyboard shortcuts

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