settings

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2016 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSettings

func InitSettings(gx glibi.Glib)

InitSettings should be called before using settings

Types

type Settings

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

Settings allow access to our configured settings

func For

func For(ident string) *Settings

For will return a valid settings instance for the given ident, or the empty string

func (*Settings) GetNotificationExpires

func (s *Settings) GetNotificationExpires() bool

GetNotificationExpires returns the notification-expires setting

func (*Settings) GetNotificationStyle

func (s *Settings) GetNotificationStyle() string

GetNotificationStyle returns the notification-style setting

func (*Settings) GetNotificationUrgency

func (s *Settings) GetNotificationUrgency() bool

GetNotificationUrgency returns the notification-urgency setting

func (*Settings) GetShiftEnterForSend

func (s *Settings) GetShiftEnterForSend() bool

GetShiftEnterForSend returns the shift-enter-for-send setting

func (*Settings) GetSingleWindow

func (s *Settings) GetSingleWindow() bool

GetSingleWindow returns the single-window setting

func (*Settings) GetSlashMe

func (s *Settings) GetSlashMe() bool

GetSlashMe returns the slash-me setting

func (*Settings) SetNotificationExpires

func (s *Settings) SetNotificationExpires(val bool)

SetNotificationExpires sets the notification-expires setting

func (*Settings) SetNotificationStyle

func (s *Settings) SetNotificationStyle(val string)

SetNotificationStyle sets the notification-style setting

func (*Settings) SetNotificationUrgency

func (s *Settings) SetNotificationUrgency(val bool)

SetNotificationUrgency sets the notification-urgency setting

func (*Settings) SetShiftEnterForSend

func (s *Settings) SetShiftEnterForSend(val bool)

SetShiftEnterForSend sets the shift-enter-for-send setting

func (*Settings) SetSingleWindow

func (s *Settings) SetSingleWindow(val bool)

SetSingleWindow sets the single-window setting

func (*Settings) SetSlashMe

func (s *Settings) SetSlashMe(val bool)

SetSlashMe sets the slash-me setting

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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