Documentation ¶
Index ¶
- type Display
- func (v *Display) ApplyChanges(flags dbus.Flags) error
- func (v *Display) AssociateTouch(flags dbus.Flags, arg0 string, arg1 string) error
- func (v *Display) Brightness() PropDisplayBrightness
- func (v *Display) ChangeBrightness(flags dbus.Flags, arg0 bool) error
- func (v *Display) CurrentCustomId() proxy.PropString
- func (v *Display) CustomIdList() proxy.PropStringArray
- func (v *Display) DeleteCustomMode(flags dbus.Flags, arg0 string) error
- func (v *Display) DisplayMode() proxy.PropByte
- func (v *Display) GetBrightness(flags dbus.Flags) (arg0 map[string]float64, err error)
- func (*Display) GetInterfaceName_() string
- func (v *Display) GetObject_() *proxy.Object
- func (v *Display) GoApplyChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoAssociateTouch(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string) *dbus.Call
- func (v *Display) GoChangeBrightness(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
- func (v *Display) GoDeleteCustomMode(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *Display) GoGetBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoListOutputNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoListOutputsCommonModes(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoModifyConfigName(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 string) *dbus.Call
- func (v *Display) GoRefreshBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoReset(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoResetChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoSave(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *Display) GoSetAndSaveBrightness(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 float64) *dbus.Call
- func (v *Display) GoSetBrightness(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 float64) *dbus.Call
- func (v *Display) GoSetPrimary(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
- func (v *Display) GoSwitchMode(flags dbus.Flags, ch chan *dbus.Call, arg0 uint8, arg1 string) *dbus.Call
- func (v *Display) HasChanged() proxy.PropBool
- func (v *Display) ListOutputNames(flags dbus.Flags) (arg0 []string, err error)
- func (v *Display) ListOutputsCommonModes(flags dbus.Flags) (arg0 []ModeInfo, err error)
- func (v *Display) ModifyConfigName(flags dbus.Flags, arg0 string, arg1 string) error
- func (v *Display) Monitors() proxy.PropObjectPathArray
- func (v *Display) Primary() proxy.PropString
- func (v *Display) PrimaryRect() PropDisplayPrimaryRect
- func (v *Display) RefreshBrightness(flags dbus.Flags) error
- func (v *Display) Reset(flags dbus.Flags) error
- func (v *Display) ResetChanges(flags dbus.Flags) error
- func (v *Display) Save(flags dbus.Flags) error
- func (v *Display) ScreenHeight() proxy.PropUint16
- func (v *Display) ScreenWidth() proxy.PropUint16
- func (v *Display) SetAndSaveBrightness(flags dbus.Flags, arg0 string, arg1 float64) error
- func (v *Display) SetBrightness(flags dbus.Flags, arg0 string, arg1 float64) error
- func (v *Display) SetPrimary(flags dbus.Flags, arg0 string) error
- func (*Display) StoreGetBrightness(call *dbus.Call) (arg0 map[string]float64, err error)
- func (*Display) StoreListOutputNames(call *dbus.Call) (arg0 []string, err error)
- func (*Display) StoreListOutputsCommonModes(call *dbus.Call) (arg0 []ModeInfo, err error)
- func (v *Display) SwitchMode(flags dbus.Flags, arg0 uint8, arg1 string) error
- func (v *Display) TouchMap() PropDisplayTouchMap
- type ModeInfo
- type Monitor
- func (v *Monitor) BestMode() PropModeInfo
- func (v *Monitor) Connected() proxy.PropBool
- func (v *Monitor) CurrentMode() PropModeInfo
- func (v *Monitor) Enable(flags dbus.Flags, arg0 bool) error
- func (v *Monitor) Enabled() proxy.PropBool
- func (*Monitor) GetInterfaceName_() string
- func (v *Monitor) GetObject_() *proxy.Object
- func (v *Monitor) GoEnable(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
- func (v *Monitor) GoSetMode(flags dbus.Flags, ch chan *dbus.Call, arg0 uint32) *dbus.Call
- func (v *Monitor) GoSetModeBySize(flags dbus.Flags, ch chan *dbus.Call, arg0 uint16, arg1 uint16) *dbus.Call
- func (v *Monitor) GoSetPosition(flags dbus.Flags, ch chan *dbus.Call, arg0 int16, arg1 int16) *dbus.Call
- func (v *Monitor) GoSetReflect(flags dbus.Flags, ch chan *dbus.Call, arg0 uint16) *dbus.Call
- func (v *Monitor) GoSetRefreshRate(flags dbus.Flags, ch chan *dbus.Call, arg0 float64) *dbus.Call
- func (v *Monitor) GoSetRotation(flags dbus.Flags, ch chan *dbus.Call, arg0 uint16) *dbus.Call
- func (v *Monitor) Height() proxy.PropUint16
- func (v *Monitor) Modes() PropModeInfoSlice
- func (v *Monitor) Name() proxy.PropString
- func (v *Monitor) PreferredModes() PropModeInfoSlice
- func (v *Monitor) Reflect() proxy.PropUint16
- func (v *Monitor) Reflects() proxy.PropUint16Array
- func (v *Monitor) RefreshRate() proxy.PropDouble
- func (v *Monitor) Rotation() proxy.PropUint16
- func (v *Monitor) Rotations() proxy.PropUint16Array
- func (v *Monitor) SetMode(flags dbus.Flags, arg0 uint32) error
- func (v *Monitor) SetModeBySize(flags dbus.Flags, arg0 uint16, arg1 uint16) error
- func (v *Monitor) SetPosition(flags dbus.Flags, arg0 int16, arg1 int16) error
- func (v *Monitor) SetReflect(flags dbus.Flags, arg0 uint16) error
- func (v *Monitor) SetRefreshRate(flags dbus.Flags, arg0 float64) error
- func (v *Monitor) SetRotation(flags dbus.Flags, arg0 uint16) error
- func (v *Monitor) Width() proxy.PropUint16
- func (v *Monitor) X() proxy.PropInt16
- func (v *Monitor) Y() proxy.PropInt16
- type PropDisplayBrightness
- type PropDisplayPrimaryRect
- type PropDisplayTouchMap
- type PropModeInfo
- type PropModeInfoSlice
- type Rectangle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
func NewDisplay ¶
func NewDisplay(conn *dbus.Conn) *Display
func (*Display) ApplyChanges ¶
func (v *Display) ApplyChanges(flags dbus.Flags) error
func (*Display) AssociateTouch ¶
func (*Display) Brightness ¶
func (v *Display) Brightness() PropDisplayBrightness
func (*Display) ChangeBrightness ¶
func (*Display) CurrentCustomId ¶
func (v *Display) CurrentCustomId() proxy.PropString
func (*Display) CustomIdList ¶
func (v *Display) CustomIdList() proxy.PropStringArray
func (*Display) DeleteCustomMode ¶
func (*Display) DisplayMode ¶
func (*Display) GetBrightness ¶
func (*Display) GetInterfaceName_ ¶
func (*Display) GetInterfaceName_() string
func (*Display) GetObject_ ¶
func (*Display) GoApplyChanges ¶
func (v *Display) GoApplyChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoAssociateTouch ¶
func (*Display) GoChangeBrightness ¶
func (v *Display) GoChangeBrightness(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
func (*Display) GoDeleteCustomMode ¶
func (v *Display) GoDeleteCustomMode(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*Display) GoGetBrightness ¶
func (v *Display) GoGetBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoListOutputNames ¶
func (v *Display) GoListOutputNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoListOutputsCommonModes ¶
func (v *Display) GoListOutputsCommonModes(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoModifyConfigName ¶
func (*Display) GoRefreshBrightness ¶
func (v *Display) GoRefreshBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoReset ¶
func (v *Display) GoReset(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoResetChanges ¶
func (v *Display) GoResetChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*Display) GoSetAndSaveBrightness ¶
func (*Display) GoSetBrightness ¶
func (*Display) GoSetPrimary ¶
func (v *Display) GoSetPrimary(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call
func (*Display) GoSwitchMode ¶
func (*Display) HasChanged ¶
func (*Display) ListOutputNames ¶
func (*Display) ListOutputsCommonModes ¶
func (*Display) ModifyConfigName ¶
func (*Display) Monitors ¶
func (v *Display) Monitors() proxy.PropObjectPathArray
func (*Display) Primary ¶
func (v *Display) Primary() proxy.PropString
func (*Display) PrimaryRect ¶
func (v *Display) PrimaryRect() PropDisplayPrimaryRect
func (*Display) RefreshBrightness ¶
func (v *Display) RefreshBrightness(flags dbus.Flags) error
func (*Display) ResetChanges ¶
func (v *Display) ResetChanges(flags dbus.Flags) error
func (*Display) ScreenHeight ¶
func (v *Display) ScreenHeight() proxy.PropUint16
func (*Display) ScreenWidth ¶
func (v *Display) ScreenWidth() proxy.PropUint16
func (*Display) SetAndSaveBrightness ¶
func (*Display) SetBrightness ¶
func (*Display) SetPrimary ¶
func (*Display) StoreGetBrightness ¶
func (*Display) StoreListOutputNames ¶
func (*Display) StoreListOutputsCommonModes ¶
func (*Display) SwitchMode ¶
func (*Display) TouchMap ¶
func (v *Display) TouchMap() PropDisplayTouchMap
type Monitor ¶
func NewMonitor ¶
func (*Monitor) BestMode ¶
func (v *Monitor) BestMode() PropModeInfo
func (*Monitor) CurrentMode ¶
func (v *Monitor) CurrentMode() PropModeInfo
func (*Monitor) GetInterfaceName_ ¶
func (*Monitor) GetInterfaceName_() string
func (*Monitor) GetObject_ ¶
func (*Monitor) GoEnable ¶
func (v *Monitor) GoEnable(flags dbus.Flags, ch chan *dbus.Call, arg0 bool) *dbus.Call
func (*Monitor) GoSetMode ¶
func (v *Monitor) GoSetMode(flags dbus.Flags, ch chan *dbus.Call, arg0 uint32) *dbus.Call
func (*Monitor) GoSetModeBySize ¶
func (*Monitor) GoSetPosition ¶
func (*Monitor) GoSetReflect ¶
func (v *Monitor) GoSetReflect(flags dbus.Flags, ch chan *dbus.Call, arg0 uint16) *dbus.Call
func (*Monitor) GoSetRefreshRate ¶
func (v *Monitor) GoSetRefreshRate(flags dbus.Flags, ch chan *dbus.Call, arg0 float64) *dbus.Call
func (*Monitor) GoSetRotation ¶
func (v *Monitor) GoSetRotation(flags dbus.Flags, ch chan *dbus.Call, arg0 uint16) *dbus.Call
func (*Monitor) Height ¶
func (v *Monitor) Height() proxy.PropUint16
func (*Monitor) Modes ¶
func (v *Monitor) Modes() PropModeInfoSlice
func (*Monitor) Name ¶
func (v *Monitor) Name() proxy.PropString
func (*Monitor) PreferredModes ¶
func (v *Monitor) PreferredModes() PropModeInfoSlice
func (*Monitor) Reflect ¶
func (v *Monitor) Reflect() proxy.PropUint16
func (*Monitor) Reflects ¶
func (v *Monitor) Reflects() proxy.PropUint16Array
func (*Monitor) RefreshRate ¶
func (v *Monitor) RefreshRate() proxy.PropDouble
func (*Monitor) Rotation ¶
func (v *Monitor) Rotation() proxy.PropUint16
func (*Monitor) Rotations ¶
func (v *Monitor) Rotations() proxy.PropUint16Array
func (*Monitor) SetModeBySize ¶
func (*Monitor) SetPosition ¶
func (*Monitor) SetReflect ¶
func (*Monitor) SetRefreshRate ¶
func (*Monitor) SetRotation ¶
func (*Monitor) Width ¶
func (v *Monitor) Width() proxy.PropUint16
type PropDisplayBrightness ¶
type PropDisplayBrightness struct {
Impl proxy.Implementer
}
func (PropDisplayBrightness) ConnectChanged ¶
func (p PropDisplayBrightness) ConnectChanged(cb func(hasValue bool, value map[string]float64)) error
type PropDisplayPrimaryRect ¶
type PropDisplayPrimaryRect struct {
Impl proxy.Implementer
}
func (PropDisplayPrimaryRect) ConnectChanged ¶
func (p PropDisplayPrimaryRect) ConnectChanged(cb func(hasValue bool, value Rectangle)) error
func (PropDisplayPrimaryRect) Get ¶
func (p PropDisplayPrimaryRect) Get(flags dbus.Flags) (value Rectangle, err error)
type PropDisplayTouchMap ¶
type PropDisplayTouchMap struct {
Impl proxy.Implementer
}
func (PropDisplayTouchMap) ConnectChanged ¶
func (p PropDisplayTouchMap) ConnectChanged(cb func(hasValue bool, value map[string]string)) error
type PropModeInfo ¶
type PropModeInfo struct { Impl proxy.Implementer Name string }
func (PropModeInfo) ConnectChanged ¶
func (p PropModeInfo) ConnectChanged(cb func(hasValue bool, value ModeInfo)) error
func (PropModeInfo) Get ¶
func (p PropModeInfo) Get(flags dbus.Flags) (value ModeInfo, err error)
func (PropModeInfo) Set ¶
func (p PropModeInfo) Set(flags dbus.Flags, value ModeInfo) error
type PropModeInfoSlice ¶
type PropModeInfoSlice struct { Impl proxy.Implementer Name string }
func (PropModeInfoSlice) ConnectChanged ¶
func (p PropModeInfoSlice) ConnectChanged(cb func(hasValue bool, value []ModeInfo)) error
func (PropModeInfoSlice) Get ¶
func (p PropModeInfoSlice) Get(flags dbus.Flags) (value []ModeInfo, err error)
func (PropModeInfoSlice) Set ¶
func (p PropModeInfoSlice) Set(flags dbus.Flags, value []ModeInfo) error
Click to show internal directories.
Click to hide internal directories.