dock

package
v0.0.0-...-d74ca3b Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 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 Dock

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

func NewDock

func NewDock(conn *dbus.Conn) *Dock

func (*Dock) ActivateWindow

func (v *Dock) ActivateWindow(flags dbus.Flags, win uint32) error

func (*Dock) CancelPreviewWindow

func (v *Dock) CancelPreviewWindow(flags dbus.Flags) error

func (*Dock) CloseWindow

func (v *Dock) CloseWindow(flags dbus.Flags, win uint32) error

func (*Dock) ConnectEntryAdded

func (v *Dock) ConnectEntryAdded(cb func(path dbus.ObjectPath, index int32)) (dbusutil.SignalHandlerId, error)

func (*Dock) ConnectEntryRemoved

func (v *Dock) ConnectEntryRemoved(cb func(entryId string)) (dbusutil.SignalHandlerId, error)

func (*Dock) ConnectServiceRestarted

func (v *Dock) ConnectServiceRestarted(cb func()) (dbusutil.SignalHandlerId, error)

func (*Dock) DisplayMode

func (v *Dock) DisplayMode() proxy.PropInt32

func (*Dock) DockedApps

func (v *Dock) DockedApps() proxy.PropStringArray

func (*Dock) Entries

func (v *Dock) Entries() proxy.PropObjectPathArray

func (*Dock) FrontendWindowRect

func (v *Dock) FrontendWindowRect() PropDockFrontendWindowRect

func (*Dock) GetEntryIDs

func (v *Dock) GetEntryIDs(flags dbus.Flags) (list []string, err error)

func (*Dock) GetInterfaceName_

func (*Dock) GetInterfaceName_() string

func (*Dock) GetObject_

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

func (*Dock) GoActivateWindow

func (v *Dock) GoActivateWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoCancelPreviewWindow

func (v *Dock) GoCancelPreviewWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Dock) GoCloseWindow

func (v *Dock) GoCloseWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoGetEntryIDs

func (v *Dock) GoGetEntryIDs(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Dock) GoIsDocked

func (v *Dock) GoIsDocked(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call

func (*Dock) GoIsOnDock

func (v *Dock) GoIsOnDock(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call

func (*Dock) GoMakeWindowAbove

func (v *Dock) GoMakeWindowAbove(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoMaximizeWindow

func (v *Dock) GoMaximizeWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoMinimizeWindow

func (v *Dock) GoMinimizeWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoMoveEntry

func (v *Dock) GoMoveEntry(flags dbus.Flags, ch chan *dbus.Call, index int32, newIndex int32) *dbus.Call

func (*Dock) GoMoveWindow

func (v *Dock) GoMoveWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoPreviewWindow

func (v *Dock) GoPreviewWindow(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoQueryWindowIdentifyMethod

func (v *Dock) GoQueryWindowIdentifyMethod(flags dbus.Flags, ch chan *dbus.Call, win uint32) *dbus.Call

func (*Dock) GoRequestDock

func (v *Dock) GoRequestDock(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, index int32) *dbus.Call

func (*Dock) GoRequestUndock

func (v *Dock) GoRequestUndock(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call

func (*Dock) GoSetFrontendWindowRect

func (v *Dock) GoSetFrontendWindowRect(flags dbus.Flags, ch chan *dbus.Call, x int32, y int32, width uint32, height uint32) *dbus.Call

func (*Dock) HideMode

func (v *Dock) HideMode() proxy.PropInt32

func (*Dock) HideState

func (v *Dock) HideState() proxy.PropInt32

func (*Dock) HideTimeout

func (v *Dock) HideTimeout() proxy.PropUint32

func (*Dock) IconSize

func (v *Dock) IconSize() proxy.PropUint32

func (*Dock) IsDocked

func (v *Dock) IsDocked(flags dbus.Flags, desktopFile string) (value bool, err error)

func (*Dock) IsOnDock

func (v *Dock) IsOnDock(flags dbus.Flags, desktopFile string) (value bool, err error)

func (*Dock) MakeWindowAbove

func (v *Dock) MakeWindowAbove(flags dbus.Flags, win uint32) error

func (*Dock) MaximizeWindow

func (v *Dock) MaximizeWindow(flags dbus.Flags, win uint32) error

func (*Dock) MinimizeWindow

func (v *Dock) MinimizeWindow(flags dbus.Flags, win uint32) error

func (*Dock) MoveEntry

func (v *Dock) MoveEntry(flags dbus.Flags, index int32, newIndex int32) error

func (*Dock) MoveWindow

func (v *Dock) MoveWindow(flags dbus.Flags, win uint32) error

func (*Dock) Position

func (v *Dock) Position() proxy.PropInt32

func (*Dock) PreviewWindow

func (v *Dock) PreviewWindow(flags dbus.Flags, win uint32) error

func (*Dock) QueryWindowIdentifyMethod

func (v *Dock) QueryWindowIdentifyMethod(flags dbus.Flags, win uint32) (identifyMethod string, err error)

func (*Dock) RequestDock

func (v *Dock) RequestDock(flags dbus.Flags, desktopFile string, index int32) (ok bool, err error)

func (*Dock) RequestUndock

func (v *Dock) RequestUndock(flags dbus.Flags, desktopFile string) (ok bool, err error)

func (*Dock) SetFrontendWindowRect

func (v *Dock) SetFrontendWindowRect(flags dbus.Flags, x int32, y int32, width uint32, height uint32) error

func (*Dock) ShowTimeout

func (v *Dock) ShowTimeout() proxy.PropUint32

func (*Dock) StoreGetEntryIDs

func (*Dock) StoreGetEntryIDs(call *dbus.Call) (list []string, err error)

func (*Dock) StoreIsDocked

func (*Dock) StoreIsDocked(call *dbus.Call) (value bool, err error)

func (*Dock) StoreIsOnDock

func (*Dock) StoreIsOnDock(call *dbus.Call) (value bool, err error)

func (*Dock) StoreQueryWindowIdentifyMethod

func (*Dock) StoreQueryWindowIdentifyMethod(call *dbus.Call) (identifyMethod string, err error)

func (*Dock) StoreRequestDock

func (*Dock) StoreRequestDock(call *dbus.Call) (ok bool, err error)

func (*Dock) StoreRequestUndock

func (*Dock) StoreRequestUndock(call *dbus.Call) (ok bool, err error)

type Entry

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

func NewEntry

func NewEntry(conn *dbus.Conn, path dbus.ObjectPath) (*Entry, error)

func (*Entry) Activate

func (v *Entry) Activate(flags dbus.Flags, timestamp uint32) error

func (*Entry) Check

func (v *Entry) Check(flags dbus.Flags) error

func (*Entry) CurrentWindow

func (v *Entry) CurrentWindow() proxy.PropUint32

func (*Entry) DesktopFile

func (v *Entry) DesktopFile() proxy.PropString

func (*Entry) ForceQuit

func (v *Entry) ForceQuit(flags dbus.Flags) error

func (*Entry) GetInterfaceName_

func (*Entry) GetInterfaceName_() string

func (*Entry) GetObject_

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

func (*Entry) GoActivate

func (v *Entry) GoActivate(flags dbus.Flags, ch chan *dbus.Call, timestamp uint32) *dbus.Call

func (*Entry) GoCheck

func (v *Entry) GoCheck(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Entry) GoForceQuit

func (v *Entry) GoForceQuit(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Entry) GoHandleDragDrop

func (v *Entry) GoHandleDragDrop(flags dbus.Flags, ch chan *dbus.Call, timestamp uint32, files []string) *dbus.Call

func (*Entry) GoHandleMenuItem

func (v *Entry) GoHandleMenuItem(flags dbus.Flags, ch chan *dbus.Call, timestamp uint32, id string) *dbus.Call

func (*Entry) GoNewInstance

func (v *Entry) GoNewInstance(flags dbus.Flags, ch chan *dbus.Call, timestamp uint32) *dbus.Call

func (*Entry) GoPresentWindows

func (v *Entry) GoPresentWindows(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Entry) GoRequestDock

func (v *Entry) GoRequestDock(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Entry) GoRequestUndock

func (v *Entry) GoRequestUndock(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*Entry) HandleDragDrop

func (v *Entry) HandleDragDrop(flags dbus.Flags, timestamp uint32, files []string) error

func (*Entry) HandleMenuItem

func (v *Entry) HandleMenuItem(flags dbus.Flags, timestamp uint32, id string) error

func (*Entry) Icon

func (v *Entry) Icon() proxy.PropString

func (*Entry) Id

func (v *Entry) Id() proxy.PropString

func (*Entry) IsActive

func (v *Entry) IsActive() proxy.PropBool

func (*Entry) IsDocked

func (v *Entry) IsDocked() proxy.PropBool

func (*Entry) Menu

func (v *Entry) Menu() proxy.PropString

func (*Entry) Name

func (v *Entry) Name() proxy.PropString

func (*Entry) NewInstance

func (v *Entry) NewInstance(flags dbus.Flags, timestamp uint32) error

func (*Entry) PresentWindows

func (v *Entry) PresentWindows(flags dbus.Flags) error

func (*Entry) RequestDock

func (v *Entry) RequestDock(flags dbus.Flags) error

func (*Entry) RequestUndock

func (v *Entry) RequestUndock(flags dbus.Flags) error

func (*Entry) WindowInfos

func (v *Entry) WindowInfos() PropEntryWindowInfos

type FrontendWindowRect

type FrontendWindowRect struct {
	X, Y          int32
	Width, Height uint32
}

type PropDockFrontendWindowRect

type PropDockFrontendWindowRect struct {
	Impl proxy.Implementer
}

func (PropDockFrontendWindowRect) ConnectChanged

func (p PropDockFrontendWindowRect) ConnectChanged(cb func(hasValue bool, value FrontendWindowRect)) error

func (PropDockFrontendWindowRect) Get

func (p PropDockFrontendWindowRect) Get(flags dbus.Flags) (value FrontendWindowRect, err error)

type PropEntryWindowInfos

type PropEntryWindowInfos struct {
	Impl proxy.Implementer
}

func (PropEntryWindowInfos) ConnectChanged

func (p PropEntryWindowInfos) ConnectChanged(cb func(hasValue bool, value map[uint32]WindowInfo)) error

func (PropEntryWindowInfos) Get

func (p PropEntryWindowInfos) Get(flags dbus.Flags) (value map[uint32]WindowInfo, err error)

type WindowInfo

type WindowInfo struct {
	Title string
	Flash bool
}

Jump to

Keyboard shortcuts

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