Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WinState ¶
type WinState struct { HideInactive bool ConfigColumnSort string OpenFileName string StartingBalance int StartDate string EndDate string SelectedConfIDs map[string]bool ShowMessageDialog *func(m string, t gtk.MessageType) ConfigListStore *gtk.ListStore ResultsListStore *gtk.ListStore TX *[]lib.TX // transaction definitions for the current window Results *[]lib.Result App *gtk.Application Win *gtk.ApplicationWindow Header *gtk.HeaderBar Notebook *gtk.Notebook ConfigScrolledWindow *gtk.ScrolledWindow ConfigTreeView *gtk.TreeView ConfigVScroll float64 // for recalling where to scroll when clearing liststore ConfigHScroll float64 // for recalling where to scroll when clearing liststore }
contains the user's configuration on a per-window basis - for example, HideInactive is a value that differs on a per-window basis. Other state values, such as the currently sorted column, should also be stored here. Additionally, utility functions such as ones that allow an error dialog to be shown from anywhere, should be stored here as pointers.
Click to show internal directories.
Click to hide internal directories.