Documentation ¶
Index ¶
- type ErrInvalidValue
- type ErrUnknownType
- type Event
- type Handler
- type InputManager
- type Key
- type KeyHandler
- type Keymap
- type Keys
- type Registerable
- type Uzbl
- type VariableStore
- func (vs *VariableStore) GetFloat(name string, def float64) float64
- func (vs *VariableStore) GetInt(name string, def int) int
- func (vs *VariableStore) GetString(name string, def string) string
- func (vs *VariableStore) SetFloat(name string, value float64)
- func (vs *VariableStore) SetInt(name string, value int)
- func (vs *VariableStore) SetString(name string, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInvalidValue ¶
func (ErrInvalidValue) Error ¶
func (e ErrInvalidValue) Error() string
type ErrUnknownType ¶
func (ErrUnknownType) Error ¶
func (e ErrUnknownType) Error() string
type Event ¶
type Event struct { *event_manager.Event Uzbl *Uzbl }
type InputManager ¶
type InputManager struct {
// contains filtered or unexported fields
}
func NewInputManager ¶
func NewInputManager(u *Uzbl) *InputManager
func (*InputManager) ClearInput ¶
func (im *InputManager) ClearInput()
func (*InputManager) SetGlobalKeymap ¶
func (im *InputManager) SetGlobalKeymap()
func (*InputManager) SetKeymap ¶
func (im *InputManager) SetKeymap(k *Keymap)
type KeyHandler ¶
type KeyHandler struct {
State int
}
type Keymap ¶
type Registerable ¶
type Registerable interface {
Init(*Uzbl)
}
type Uzbl ¶
type Uzbl struct { Variables *VariableStore IM *InputManager // contains filtered or unexported fields }
func (*Uzbl) AddHandler ¶
func (*Uzbl) Register ¶
func (u *Uzbl) Register(r ...Registerable)
type VariableStore ¶
type VariableStore struct {
// contains filtered or unexported fields
}
func NewVariableStore ¶
func NewVariableStore() *VariableStore
func (*VariableStore) GetFloat ¶
func (vs *VariableStore) GetFloat(name string, def float64) float64
func (*VariableStore) GetString ¶
func (vs *VariableStore) GetString(name string, def string) string
func (*VariableStore) SetFloat ¶
func (vs *VariableStore) SetFloat(name string, value float64)
func (*VariableStore) SetInt ¶
func (vs *VariableStore) SetInt(name string, value int)
func (*VariableStore) SetString ¶
func (vs *VariableStore) SetString(name string, value string)
Click to show internal directories.
Click to hide internal directories.