Documentation ¶
Index ¶
- func InitSettings(gx glibi.Glib)
- type Settings
- func (s *Settings) GetConnectAutomatically() bool
- func (s *Settings) GetNotificationExpires() bool
- func (s *Settings) GetNotificationStyle() string
- func (s *Settings) GetNotificationUrgency() bool
- func (s *Settings) GetShiftEnterForSend() bool
- func (s *Settings) GetShowAdvancedOptions() bool
- func (s *Settings) GetShowEmptyGroups() bool
- func (s *Settings) GetSingleWindow() bool
- func (s *Settings) GetSlashMe() bool
- func (s *Settings) SetConnectAutomatically(val bool)
- func (s *Settings) SetNotificationExpires(val bool)
- func (s *Settings) SetNotificationStyle(val string)
- func (s *Settings) SetNotificationUrgency(val bool)
- func (s *Settings) SetShiftEnterForSend(val bool)
- func (s *Settings) SetShowAdvancedOptions(val bool)
- func (s *Settings) SetShowEmptyGroups(val bool)
- func (s *Settings) SetSingleWindow(val bool)
- func (s *Settings) SetSlashMe(val bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSettings ¶
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 (*Settings) GetConnectAutomatically ¶ added in v0.3.5
GetConnectAutomatically returns the connect-automatically setting
func (*Settings) GetNotificationExpires ¶
GetNotificationExpires returns the notification-expires setting
func (*Settings) GetNotificationStyle ¶
GetNotificationStyle returns the notification-style setting
func (*Settings) GetNotificationUrgency ¶
GetNotificationUrgency returns the notification-urgency setting
func (*Settings) GetShiftEnterForSend ¶
GetShiftEnterForSend returns the shift-enter-for-send setting
func (*Settings) GetShowAdvancedOptions ¶ added in v0.3.5
GetShowAdvancedOptions returns the show-advanced-options setting
func (*Settings) GetShowEmptyGroups ¶ added in v0.3.5
GetShowEmptyGroups returns the show-empty-groups setting
func (*Settings) GetSingleWindow ¶
GetSingleWindow returns the single-window setting
func (*Settings) GetSlashMe ¶
GetSlashMe returns the slash-me setting
func (*Settings) SetConnectAutomatically ¶ added in v0.3.5
SetConnectAutomatically sets the connect-automatically setting
func (*Settings) SetNotificationExpires ¶
SetNotificationExpires sets the notification-expires setting
func (*Settings) SetNotificationStyle ¶
SetNotificationStyle sets the notification-style setting
func (*Settings) SetNotificationUrgency ¶
SetNotificationUrgency sets the notification-urgency setting
func (*Settings) SetShiftEnterForSend ¶
SetShiftEnterForSend sets the shift-enter-for-send setting
func (*Settings) SetShowAdvancedOptions ¶ added in v0.3.5
SetShowAdvancedOptions sets the show-advanced-options setting
func (*Settings) SetShowEmptyGroups ¶ added in v0.3.5
SetShowEmptyGroups sets the show-empty-groups setting
func (*Settings) SetSingleWindow ¶
SetSingleWindow sets the single-window setting
func (*Settings) SetSlashMe ¶
SetSlashMe sets the slash-me setting