Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseObserver ¶
type BaseObserver struct {
// contains filtered or unexported fields
}
func (*BaseObserver) ConnectChanged ¶
func (o *BaseObserver) ConnectChanged(cb func())
func (*BaseObserver) Notify ¶
func (o *BaseObserver) Notify()
func (*BaseObserver) Reset ¶
func (o *BaseObserver) Reset()
type GSettingsBoolProperty ¶
type GSettingsBoolProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsBoolProperty ¶
func NewGSettingsBoolProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsBoolProperty
func (*GSettingsBoolProperty) Get ¶
func (prop *GSettingsBoolProperty) Get() bool
func (*GSettingsBoolProperty) Set ¶
func (prop *GSettingsBoolProperty) Set(v bool)
type GSettingsEnumProperty ¶
type GSettingsEnumProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsEnumProperty ¶
func NewGSettingsEnumProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsEnumProperty
func (*GSettingsEnumProperty) Get ¶
func (prop *GSettingsEnumProperty) Get() int32
func (*GSettingsEnumProperty) Set ¶
func (prop *GSettingsEnumProperty) Set(v int32)
type GSettingsFloatProperty ¶
type GSettingsFloatProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsFloatProperty ¶
func NewGSettingsFloatProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsFloatProperty
func (*GSettingsFloatProperty) Get ¶
func (prop *GSettingsFloatProperty) Get() float64
func (*GSettingsFloatProperty) Set ¶
func (prop *GSettingsFloatProperty) Set(v float64)
type GSettingsIntProperty ¶
type GSettingsIntProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsIntProperty ¶
func NewGSettingsIntProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsIntProperty
func (*GSettingsIntProperty) Get ¶
func (prop *GSettingsIntProperty) Get() int32
func (*GSettingsIntProperty) Set ¶
func (prop *GSettingsIntProperty) Set(v int32)
type GSettingsStringProperty ¶
type GSettingsStringProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsStringProperty ¶
func NewGSettingsStringProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsStringProperty
func (*GSettingsStringProperty) Get ¶
func (prop *GSettingsStringProperty) Get() string
func (*GSettingsStringProperty) Set ¶
func (prop *GSettingsStringProperty) Set(v string)
type GSettingsStrvProperty ¶
type GSettingsStrvProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsStrvProperty ¶
func NewGSettingsStrvProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsStrvProperty
func (*GSettingsStrvProperty) Get ¶
func (prop *GSettingsStrvProperty) Get() []string
func (*GSettingsStrvProperty) Set ¶
func (prop *GSettingsStrvProperty) Set(v []string)
type GSettingsUintProperty ¶
type GSettingsUintProperty struct {
// contains filtered or unexported fields
}
func NewGSettingsUintProperty ¶
func NewGSettingsUintProperty(obj dbus.DBusObject, propName string, s *gio.Settings, keyName string) *GSettingsUintProperty
func (*GSettingsUintProperty) Get ¶
func (prop *GSettingsUintProperty) Get() uint32
func (*GSettingsUintProperty) Set ¶
func (prop *GSettingsUintProperty) Set(v uint32)
type NormalProperty ¶
type NormalProperty struct {
// contains filtered or unexported fields
}
func NewNormalProperty ¶
func NewNormalProperty(con *dbus.Conn, path, ifc string, propName string, v interface{}) *NormalProperty
func (NormalProperty) GetType ¶
func (p NormalProperty) GetType() reflect.Type
func (NormalProperty) GetValue ¶
func (p NormalProperty) GetValue() interface{}
func (NormalProperty) SetValue ¶
func (p NormalProperty) SetValue(v interface{})
type WrapProperty ¶
type WrapProperty struct { BaseObserver // contains filtered or unexported fields }
func NewWrapProperty ¶
func NewWrapProperty(obj dbus.DBusObject, propName string, core dbus.Property) *WrapProperty
func (WrapProperty) GetType ¶
func (p WrapProperty) GetType() reflect.Type
func (WrapProperty) GetValue ¶
func (p WrapProperty) GetValue() interface{}
func (WrapProperty) SetValue ¶
func (p WrapProperty) SetValue(v interface{})
Click to show internal directories.
Click to hide internal directories.