Documentation ¶
Index ¶
- func InitSettings(gx glibi.Glib)
- type Settings
- func (s *Settings) GetNotificationExpires() bool
- func (s *Settings) GetNotificationStyle() string
- func (s *Settings) GetNotificationUrgency() bool
- func (s *Settings) GetShiftEnterForSend() bool
- func (s *Settings) GetSingleWindow() bool
- func (s *Settings) GetSlashMe() 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) 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) 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) GetSingleWindow ¶
GetSingleWindow returns the single-window setting
func (*Settings) GetSlashMe ¶
GetSlashMe returns the slash-me 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) SetSingleWindow ¶
SetSingleWindow sets the single-window setting
func (*Settings) SetSlashMe ¶
SetSlashMe sets the slash-me setting