settings

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 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) GetCollapsed added in v0.3.8

func (s *Settings) GetCollapsed() string

GetCollapsed returns the collapsed setting

func (*Settings) GetConnectAutomatically added in v0.3.5

func (s *Settings) GetConnectAutomatically() bool

GetConnectAutomatically returns the connect-automatically setting

func (*Settings) GetEmacsKeyBindings added in v0.3.7

func (s *Settings) GetEmacsKeyBindings() bool

GetEmacsKeyBindings returns the emacs-keyboard 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) SetCollapsed added in v0.3.8

func (s *Settings) SetCollapsed(val string)

SetCollapsed sets the collapsed setting

func (*Settings) SetConnectAutomatically added in v0.3.5

func (s *Settings) SetConnectAutomatically(val bool)

SetConnectAutomatically sets the connect-automatically setting

func (*Settings) SetEmacsKeyBindings added in v0.3.7

func (s *Settings) SetEmacsKeyBindings(val bool)

SetEmacsKeyBindings sets the emacs-keyboard 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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