Documentation
¶
Index ¶
- type GUI
- func (gui *GUI) AddSetting(settingsName, initialText string) *gtk.Entry
- func (gui *GUI) AddSettingButton(text string, buttonFunc func())
- func (gui *GUI) AutoScroll(textview *gtk.TextView, endIter *gtk.TextIter)
- func (gui *GUI) CloseSettingsWindow()
- func (gui *GUI) CreateChannelWindow(context string, sendFunc func())
- func (gui *GUI) DeleteChannelWindow(context string) error
- func (gui *GUI) DeleteCurrentWindow()
- func (gui *GUI) EmptyEntryText(context string) error
- func (gui *GUI) EmptyNicks(context string) error
- func (gui *GUI) GetEntryText(context string) (string, error)
- func (gui *GUI) Notebook() *gtk.Notebook
- func (gui *GUI) SetSettingsFunc(settingsfunc func())
- func (gui *GUI) StartMain()
- func (gui *GUI) WriteToChannel(s, context string) error
- func (gui *GUI) WriteToCurrentWindow(s string) error
- func (gui *GUI) WriteToNicks(s, context string) error
- type Page
- type SettingsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GUI ¶
type GUI struct {
// contains filtered or unexported fields
}
func (*GUI) AddSetting ¶
AddSetting adds a setting to the setting menu in the form of an entry. Takes the setting name and the initialtext in the entry and returns a pointer to the entry.
func (*GUI) AddSettingButton ¶
AddSettingButton adds a button to the settings menu with the label of the first argument. Calls on buttonFunc on click
func (*GUI) CloseSettingsWindow ¶
func (gui *GUI) CloseSettingsWindow()
func (*GUI) CreateChannelWindow ¶
func (*GUI) DeleteChannelWindow ¶
func (*GUI) DeleteCurrentWindow ¶
func (gui *GUI) DeleteCurrentWindow()
func (*GUI) EmptyEntryText ¶
func (*GUI) EmptyNicks ¶
func (*GUI) SetSettingsFunc ¶
func (gui *GUI) SetSettingsFunc(settingsfunc func())
func (*GUI) WriteToChannel ¶
func (*GUI) WriteToCurrentWindow ¶
func (*GUI) WriteToNicks ¶
type SettingsFunc ¶
type SettingsFunc func()
Click to show internal directories.
Click to hide internal directories.