gsprop

package
v0.0.0-...-dddda54 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 7 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	// contains filtered or unexported fields
}

func (*Bool) Bind

func (b *Bool) Bind(gs *gio.Settings, key string)

func (*Bool) Get

func (b *Bool) Get() bool

func (*Bool) GetType

func (*Bool) GetType() reflect.Type

func (*Bool) GetValue

func (b *Bool) GetValue() (val interface{}, err *dbus.Error)

func (*Bool) Set

func (b *Bool) Set(val bool) bool

func (*Bool) SetNotifyChangedFunc

func (b *Bool) SetNotifyChangedFunc(fn func(val interface{}))

func (*Bool) SetValue

func (b *Bool) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Double

type Double struct {
	// contains filtered or unexported fields
}

func (*Double) Bind

func (d *Double) Bind(gs *gio.Settings, key string)

func (*Double) Get

func (d *Double) Get() float64

func (*Double) GetType

func (*Double) GetType() reflect.Type

func (*Double) GetValue

func (d *Double) GetValue() (val interface{}, err *dbus.Error)

func (*Double) Set

func (d *Double) Set(val float64) bool

func (*Double) SetNotifyChangedFunc

func (b *Double) SetNotifyChangedFunc(fn func(val interface{}))

func (*Double) SetValue

func (d *Double) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Enum

type Enum struct {
	// contains filtered or unexported fields
}

func (*Enum) Bind

func (e *Enum) Bind(gs *gio.Settings, key string)

func (*Enum) Get

func (e *Enum) Get() int32

func (*Enum) GetString

func (e *Enum) GetString() string

func (*Enum) GetType

func (e *Enum) GetType() reflect.Type

func (*Enum) GetValue

func (e *Enum) GetValue() (val interface{}, err *dbus.Error)

func (*Enum) Set

func (e *Enum) Set(val int32) bool

func (*Enum) SetNotifyChangedFunc

func (b *Enum) SetNotifyChangedFunc(fn func(val interface{}))

func (*Enum) SetString

func (e *Enum) SetString(val string) bool

func (*Enum) SetValue

func (e *Enum) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Int

type Int struct {
	// contains filtered or unexported fields
}

func (*Int) Bind

func (i *Int) Bind(gs *gio.Settings, key string)

func (*Int) Get

func (i *Int) Get() int32

func (*Int) GetType

func (*Int) GetType() reflect.Type

func (*Int) GetValue

func (i *Int) GetValue() (val interface{}, err *dbus.Error)

func (*Int) Set

func (i *Int) Set(val int32) bool

func (*Int) SetNotifyChangedFunc

func (b *Int) SetNotifyChangedFunc(fn func(val interface{}))

func (*Int) SetValue

func (i *Int) SetValue(val interface{}) (changed bool, err *dbus.Error)

type String

type String struct {
	// contains filtered or unexported fields
}

func (*String) Bind

func (s *String) Bind(gs *gio.Settings, key string)

func (*String) Get

func (s *String) Get() string

func (*String) GetType

func (*String) GetType() reflect.Type

func (*String) GetValue

func (s *String) GetValue() (val interface{}, err *dbus.Error)

func (*String) Set

func (s *String) Set(val string) bool

func (*String) SetNotifyChangedFunc

func (b *String) SetNotifyChangedFunc(fn func(val interface{}))

func (*String) SetValue

func (s *String) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Strv

type Strv struct {
	// contains filtered or unexported fields
}

func (*Strv) Bind

func (s *Strv) Bind(gs *gio.Settings, key string)

func (*Strv) Get

func (s *Strv) Get() []string

func (*Strv) GetType

func (*Strv) GetType() reflect.Type

func (*Strv) GetValue

func (s *Strv) GetValue() (val interface{}, err *dbus.Error)

func (*Strv) Set

func (s *Strv) Set(val []string) bool

func (*Strv) SetNotifyChangedFunc

func (b *Strv) SetNotifyChangedFunc(fn func(val interface{}))

func (*Strv) SetValue

func (s *Strv) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Uint

type Uint struct {
	// contains filtered or unexported fields
}

func (*Uint) Bind

func (u *Uint) Bind(gs *gio.Settings, key string)

func (*Uint) Get

func (u *Uint) Get() uint32

func (*Uint) GetType

func (*Uint) GetType() reflect.Type

func (*Uint) GetValue

func (u *Uint) GetValue() (val interface{}, err *dbus.Error)

func (*Uint) Set

func (u *Uint) Set(val uint32) bool

func (*Uint) SetNotifyChangedFunc

func (b *Uint) SetNotifyChangedFunc(fn func(val interface{}))

func (*Uint) SetValue

func (u *Uint) SetValue(val interface{}) (changed bool, err *dbus.Error)

type Uint64

type Uint64 struct {
	// contains filtered or unexported fields
}

func (*Uint64) Bind

func (u *Uint64) Bind(gs *gio.Settings, key string)

func (*Uint64) Get

func (u *Uint64) Get() uint64

func (*Uint64) GetType

func (*Uint64) GetType() reflect.Type

func (*Uint64) GetValue

func (u *Uint64) GetValue() (val interface{}, err *dbus.Error)

func (*Uint64) Set

func (u *Uint64) Set(val uint64) bool

func (*Uint64) SetNotifyChangedFunc

func (b *Uint64) SetNotifyChangedFunc(fn func(val interface{}))

func (*Uint64) SetValue

func (u *Uint64) SetValue(val interface{}) (changed bool, err *dbus.Error)

Jump to

Keyboard shortcuts

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