Documentation
¶
Index ¶
- func AssertApplication(_ Application)
- func AssertGlib(_ Glib)
- func AssertObject(_ Object)
- func AssertSettings(_ Settings)
- func AssertSettingsBackend(_ SettingsBackend)
- func AssertSettingsSchema(_ SettingsSchema)
- func AssertSettingsSchemaSource(_ SettingsSchemaSource)
- func AssertSignal(_ Signal)
- func AssertValue(_ Value)
- type Application
- type ApplicationFlags
- type Glib
- type Object
- type Settings
- type SettingsBackend
- type SettingsSchema
- type SettingsSchemaSource
- type Signal
- type SignalHandle
- type SourceHandle
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertApplication ¶
func AssertApplication(_ Application)
func AssertSettingsBackend ¶ added in v0.3.3
func AssertSettingsBackend(_ SettingsBackend)
func AssertSettingsSchema ¶ added in v0.3.3
func AssertSettingsSchema(_ SettingsSchema)
func AssertSettingsSchemaSource ¶ added in v0.3.3
func AssertSettingsSchemaSource(_ SettingsSchemaSource)
Types ¶
type ApplicationFlags ¶
type ApplicationFlags int
var ( APPLICATION_FLAGS_NONE ApplicationFlags APPLICATION_IS_SERVICE ApplicationFlags APPLICATION_HANDLES_OPEN ApplicationFlags APPLICATION_HANDLES_COMMAND_LINE ApplicationFlags APPLICATION_SEND_ENVIRONMENT ApplicationFlags APPLICATION_NON_UNIQUE ApplicationFlags )
type Glib ¶
type Glib interface { IdleAdd(interface{}, ...interface{}) (SourceHandle, error) InitI18n(string, string) Local(string) string MainDepth() int SettingsNew(string) Settings SettingsNewWithPath(string, string) Settings SettingsNewWithBackend(string, SettingsBackend) Settings SettingsNewWithBackendAndPath(string, SettingsBackend, string) Settings SettingsNewFull(SettingsSchema, SettingsBackend, string) Settings SettingsSync() SettingsBackendGetDefault() SettingsBackend KeyfileSettingsBackendNew(string, string, string) SettingsBackend MemorySettingsBackendNew() SettingsBackend NullSettingsBackendNew() SettingsBackend SettingsSchemaSourceGetDefault() SettingsSchemaSource SettingsSchemaSourceNewFromDirectory(string, SettingsSchemaSource, bool) SettingsSchemaSource SignalNew(string) (Signal, error) } // end of Glib
type Object ¶
type Settings ¶ added in v0.3.3
type Settings interface { Object IsWritable(string) bool Delay() Apply() Revert() GetHasUnapplied() bool GetChild(string) Settings Reset(string) ListChildren() []string GetBoolean(string) bool SetBoolean(string, bool) bool GetInt(string) int SetInt(string, int) bool GetUInt(string) uint SetUInt(string, uint) bool GetDouble(string) float64 SetDouble(string, float64) bool GetString(string) string SetString(string, string) bool GetEnum(string) int SetEnum(string, int) bool GetFlags(string) uint SetFlags(string, uint) bool }
type SettingsSchema ¶ added in v0.3.3
type SettingsSchema interface { Ref() SettingsSchema Unref() GetID() string GetPath() string HasKey(string) bool }
type SettingsSchemaSource ¶ added in v0.3.3
type SettingsSchemaSource interface { Ref() SettingsSchemaSource Unref() Lookup(string, bool) SettingsSchema }
type Type ¶
type Type uint
var ( TYPE_INVALID Type TYPE_NONE Type TYPE_INTERFACE Type TYPE_CHAR Type TYPE_UCHAR Type TYPE_BOOLEAN Type TYPE_INT Type TYPE_UINT Type TYPE_LONG Type TYPE_ULONG Type TYPE_INT64 Type TYPE_UINT64 Type TYPE_ENUM Type TYPE_FLAGS Type TYPE_FLOAT Type TYPE_DOUBLE Type TYPE_STRING Type TYPE_POINTER Type TYPE_BOXED Type TYPE_PARAM Type TYPE_OBJECT Type TYPE_VARIANT Type )
Click to show internal directories.
Click to hide internal directories.