property

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: 7 Imported by: 0

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) GetType

func (p GSettingsBoolProperty) GetType() reflect.Type

func (GSettingsBoolProperty) GetValue

func (p GSettingsBoolProperty) GetValue() interface{}

func (*GSettingsBoolProperty) Set

func (prop *GSettingsBoolProperty) Set(v bool)

func (GSettingsBoolProperty) SetValue

func (p GSettingsBoolProperty) SetValue(v interface{})

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) GetType

func (p GSettingsEnumProperty) GetType() reflect.Type

func (GSettingsEnumProperty) GetValue

func (p GSettingsEnumProperty) GetValue() interface{}

func (*GSettingsEnumProperty) Set

func (prop *GSettingsEnumProperty) Set(v int32)

func (GSettingsEnumProperty) SetValue

func (p GSettingsEnumProperty) SetValue(v interface{})

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) GetType

func (p GSettingsFloatProperty) GetType() reflect.Type

func (GSettingsFloatProperty) GetValue

func (p GSettingsFloatProperty) GetValue() interface{}

func (*GSettingsFloatProperty) Set

func (prop *GSettingsFloatProperty) Set(v float64)

func (GSettingsFloatProperty) SetValue

func (p GSettingsFloatProperty) SetValue(v interface{})

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) GetType

func (p GSettingsIntProperty) GetType() reflect.Type

func (GSettingsIntProperty) GetValue

func (p GSettingsIntProperty) GetValue() interface{}

func (*GSettingsIntProperty) Set

func (prop *GSettingsIntProperty) Set(v int32)

func (GSettingsIntProperty) SetValue

func (p GSettingsIntProperty) SetValue(v interface{})

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) GetType

func (p GSettingsStringProperty) GetType() reflect.Type

func (GSettingsStringProperty) GetValue

func (p GSettingsStringProperty) GetValue() interface{}

func (*GSettingsStringProperty) Set

func (prop *GSettingsStringProperty) Set(v string)

func (GSettingsStringProperty) SetValue

func (p GSettingsStringProperty) SetValue(v interface{})

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) GetType

func (p GSettingsStrvProperty) GetType() reflect.Type

func (GSettingsStrvProperty) GetValue

func (p GSettingsStrvProperty) GetValue() interface{}

func (*GSettingsStrvProperty) Set

func (prop *GSettingsStrvProperty) Set(v []string)

func (GSettingsStrvProperty) SetValue

func (p GSettingsStrvProperty) SetValue(v interface{})

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) GetType

func (p GSettingsUintProperty) GetType() reflect.Type

func (GSettingsUintProperty) GetValue

func (p GSettingsUintProperty) GetValue() interface{}

func (*GSettingsUintProperty) Set

func (prop *GSettingsUintProperty) Set(v uint32)

func (GSettingsUintProperty) SetValue

func (p GSettingsUintProperty) SetValue(v interface{})

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{})

Jump to

Keyboard shortcuts

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