Documentation ¶
Index ¶
- type Crypto
- type Dialog
- func (d *Dialog) ErrorIcon() *Dialog
- func (d *Dialog) Extra(extra string) *Dialog
- func (d *Dialog) Height(height int) *Dialog
- func (d *Dialog) InfoIcon() *Dialog
- func (d *Dialog) OkButton() *Dialog
- func (d *Dialog) OkCancelButtons() *Dialog
- func (d *Dialog) QuestionIcon() *Dialog
- func (d *Dialog) Show() gtk.ResponseType
- func (d *Dialog) Size(width, height int) *Dialog
- func (d *Dialog) Text(text string) *Dialog
- func (d *Dialog) TextMarkup(textMarkup string) *Dialog
- func (d *Dialog) WarningIcon() *Dialog
- func (d *Dialog) Width(width int) *Dialog
- func (d *Dialog) YesNoButtons() *Dialog
- func (d *Dialog) YesNoCancelButtons() *Dialog
- type Error
- type Framework
- type Gtk
- type GtkBuilder
- type IO
- type Log
- type Logger
- type MailMessage
- type MailSender
- type Process
- type Resource
- type Slice
- func (s *Slice) ContainsInt(slice []int, find int) bool
- func (s *Slice) ContainsString(slice []string, find string) bool
- func (s *Slice) IndexOfInt(slice []int, find int) int
- func (s *Slice) IndexOfString(slice []string, find string) int
- func (s *Slice) RemoveIntAt(slice []int, index int) []int
- func (s *Slice) RemoveIntAtFast(slice []int, index int) []int
- func (s *Slice) RemoveStringAt(slice []string, index int) []string
- func (s *Slice) RemoveStringAtFast(slice []string, index int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypto ¶ added in v1.2.5
type Crypto struct { }
type Dialog ¶ added in v1.2.9
type Dialog struct {
// contains filtered or unexported fields
}
Dialog contains information about the dialog the user wants
func (*Dialog) Extra ¶ added in v1.2.9
Extra sets the extra text that will be displayed in a scrollable text box.
func (*Dialog) OkCancelButtons ¶ added in v1.2.9
OkCancelButtons adds an ok button and a cancel button to the dialog
func (*Dialog) QuestionIcon ¶ added in v1.2.9
QuestionIcon adds a question icon to the dialog
func (*Dialog) Show ¶ added in v1.2.9
func (d *Dialog) Show() gtk.ResponseType
Show will display the dialog
func (*Dialog) TextMarkup ¶ added in v1.2.9
TextMarkup sets the main text in the dialog in the GTK markup format.
func (*Dialog) WarningIcon ¶ added in v1.2.9
WarningIcon adds a warning icon to the dialog
func (*Dialog) YesNoButtons ¶ added in v1.2.9
YesNoButtons adds a yes button and no cancel button to the dialog
func (*Dialog) YesNoCancelButtons ¶ added in v1.2.9
YesNoCancelButtons adds a yes button, a no button, and a cancel button to the dialog
type Error ¶ added in v1.2.3
type Error struct { }
func (*Error) CheckWithPanic ¶ added in v1.2.3
CheckWithPanic : panics on error
type Framework ¶ added in v1.2.0
type Framework struct { Gtk *Gtk IO *IO Process *Process Resource *Resource Slice *Slice Error *Error Crypto *Crypto Mail *MailSender Log *Log }
func NewFramework ¶ added in v1.2.0
func NewFramework() *Framework
type Gtk ¶ added in v1.2.3
type Gtk struct { }
func (*Gtk) ClearFlowBox ¶ added in v1.2.3
ClearFlowBox : Clears a gtk.FlowBox
func (*Gtk) ClearListBox ¶ added in v1.2.3
ClearListBox : Clears a gtk.ListBox
func (*Gtk) CreateBuilder ¶ added in v1.2.3
func (g *Gtk) CreateBuilder(fileNameOrPath string) (*GtkBuilder, error)
CreateBuilder : Creates the actual gtk.Builder
type GtkBuilder ¶ added in v1.2.2
type IO ¶
type IO struct { }
func (*IO) DirectoryExists ¶
DirectoryExists : Checks if the specified directory exists
func (*IO) FileExists ¶
FileExists : Checks if the specified file exists
type Logger ¶ added in v1.3.0
type MailMessage ¶ added in v1.2.5
type MailSender ¶ added in v1.2.5
type MailSender struct { }
func (*MailSender) SendMail ¶ added in v1.2.5
func (m *MailSender) SendMail(mailMessage MailMessage) error
type Process ¶ added in v1.1.0
type Process struct { }
func (*Process) OpenInGoland ¶ added in v1.1.0
OpenInGoland : Opens the specified folder in Goland
func (*Process) OpenInNemo ¶ added in v1.1.0
OpenInNemo : Opens a new nemo instance with the specified folder opened
func (*Process) OpenInTerminal ¶ added in v1.1.0
OpenInTerminal : Opens a new terminal with path as its current directory
type Resource ¶ added in v1.1.0
type Resource struct { }
Resource : Handles SoftTeam resources
func (*Resource) GetExecutableFile ¶ added in v1.1.0
GetExecutableFile : Returns the path of the executable file
func (*Resource) GetExecutablePath ¶ added in v1.1.0
GetExecutablePath : Returns the directory of the executable file
func (*Resource) GetResourcePath ¶ added in v1.1.0
GetResourcePath : Gets the path for a single resource file
func (*Resource) GetResourcesPath ¶ added in v1.1.0
GetResourcesPath : Returns the resources path
func (*Resource) GetUserHomeDirectory ¶ added in v1.1.0
type Slice ¶ added in v1.1.0
type Slice struct { }
func (*Slice) ContainsInt ¶ added in v1.1.0
ContainsInt : Returns true if the slice contains the integer
in find, otherwise returns false.
func (*Slice) ContainsString ¶ added in v1.1.0
ContainsString : Returns true if the slice contains the string
in find, otherwise returns false.
func (*Slice) IndexOfInt ¶ added in v1.2.7
IndexOfInt : Returns the index if the slice contains the integer
in find, otherwise returns -1.
func (*Slice) IndexOfString ¶ added in v1.2.7
IndexOfString : Returns index if the slice contains the string
in find, otherwise returns -1.
func (*Slice) RemoveIntAt ¶ added in v1.1.0
RemoveIntAt : Removes the integer at the specified index
from the slice
func (*Slice) RemoveIntAtFast ¶ added in v1.1.0
RemoveIntAtFast : Removes the integer at the specified index
from the slice. IMPORTANT : This function reorders the items in the slice!
func (*Slice) RemoveStringAt ¶ added in v1.1.0
RemoveStringAt : Removes the string at the specified index
from the slice