settings

package
v0.3.6-pre1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: GPL-3.0 Imports: 4 Imported by: 2

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) GetConnectAutomatically added in v0.3.5

func (s *Settings) GetConnectAutomatically() bool

GetConnectAutomatically returns the connect-automatically setting

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) GetShowAdvancedOptions added in v0.3.5

func (s *Settings) GetShowAdvancedOptions() bool

GetShowAdvancedOptions returns the show-advanced-options setting

func (*Settings) GetShowEmptyGroups added in v0.3.5

func (s *Settings) GetShowEmptyGroups() bool

GetShowEmptyGroups returns the show-empty-groups 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) SetConnectAutomatically added in v0.3.5

func (s *Settings) SetConnectAutomatically(val bool)

SetConnectAutomatically sets the connect-automatically 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) SetShowAdvancedOptions added in v0.3.5

func (s *Settings) SetShowAdvancedOptions(val bool)

SetShowAdvancedOptions sets the show-advanced-options setting

func (*Settings) SetShowEmptyGroups added in v0.3.5

func (s *Settings) SetShowEmptyGroups(val bool)

SetShowEmptyGroups sets the show-empty-groups 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