Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Root string Texts = make([][]*gtk.Entry, 0) Book *gtk.Notebook BottonLabel string Settings Setting ReplyIndex int MsgIndex int KeyCode = map[uint16]string{41: "`", 2: "1", 3: "2", 4: "3", 5: "4", 6: "5", 7: "6", 8: "7", 9: "8", 10: "9", 11: "0", 12: "-", 13: "+", 16: "q", 17: "w", 18: "e", 19: "r", 20: "t", 21: "y", 22: "u", 23: "i", 24: "o", 25: "p", 26: "[", 27: "]", 43: "\\", 30: "a", 31: "s", 32: "d", 33: "f", 34: "g", 35: "h", 36: "j", 37: "k", 38: "l", 39: ";", 40: "'", 44: "z", 45: "x", 46: "c", 47: "v", 48: "b", 49: "n", 50: "m", 51: ",", 52: ".", 53: "/", 59: "f1", 60: "f2", 61: "f3", 62: "f4", 63: "f5", 64: "f6", 65: "f7", 66: "f8", 67: "f9", 68: "f10", 69: "f11", 70: "f12", 1: "esc", 14: "delete", 15: "tab", 29: "control", 56: "alt", 57: "space", 42: "shift", 54: "rshift", 28: "enter", 3675: "command", 3676: "rcmd", 3640: "ralt", 57416: "up", 57424: "down", 57419: "left", 57421: "right"} )
Functions ¶
func CarryReply ¶
func KeyDownEvent ¶ added in v0.1.1
func KeyDownEvent(keys []string)
func ReadBytesToFile ¶ added in v0.1.1
func SettingToFile ¶ added in v0.0.3
func SettingToFile()
func StartSettings ¶
func StartSettings()
func WriteStringToFile ¶ added in v0.1.1
Types ¶
type Setting ¶
type Setting struct { DateLimit int `json:"date_limit"` ReplyNum int `json:"reply_num"` EditNum int `json:"edit_num"` Strategy Strategy `json:"strategy"` Tags []Tag `json:"tags"` BeforeKeys []string `json:"before_keys"` EndKeys []string `json:"end_keys"` Random bool `json:"random"` WithoutStop bool `json:"without_stop"` Average bool `json:"average"` Before bool `json:"before"` OS string `json:"os"` }
Click to show internal directories.
Click to hide internal directories.