Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // All the themes available // Fetched from vendor Themes []Theme // Icons! Icons map[string]Icon // Config TLockConfig config.TLockConfig // Core Core *tlockcore.TLockCore // User configuration Config config.UserConfiguration }
Represents a context
func InitializeContext ¶
func InitializeContext() Context
Initializes a new instance of the context It is recommended to call this at a one place and then pass around the context
func (Context) GetCurrentTheme ¶
Returns the current theme spec
Click to show internal directories.
Click to hide internal directories.